PNG数据块到image dimensions
I am trying to get RM to determine the size of images it is looking at when applying machine learning. All of the images we deal with are PNG and the PNG specifications are located here:https://www.w3.org/TR/PNG/#4Concepts.PNGImage
Looking at the ASCI character for the RapidMiner logo located atrapidminer-logo-retina.pngthe first 24 ASCII characters are
I use this process to extract the ASCII characters for the image size:
Looking at the ASCI character for the RapidMiner logo located atrapidminer-logo-retina.pngthe first 24 ASCII characters are
âPNG IHDRôíThe image size is contained in the first chunk after IHDR
I use this process to extract the ASCII characters for the image size:
https://1xltkxylmzx3z8gd647akcdvov-wpengine.netdna-ssl.com/wp-content/uploads/2016/06/rapidminer-logo-retina.png"/>
上述过程的结果
ôí
How would you recommend converting this into image height and width?
Tagged:
0
Best Answer
-
MartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University ProfessorPosts:3387年RM Data ScientistHi@robin,honestly - i would use groovy here.. It's so straight forward. See attached example.
BR,Martin
- Head of Data Science Services at RapidMiner -
Dortmund, Germany2
Answers
Thanks for sharing the use case with the community. I suggest you use the IMMI image mining extension.
To install IMMI, first download from herehttp://www.burgsys.com/image-analysis-software.php
Here is my result for extracting metadata about image info using IMMI 7.0 under RapidMiner 9.2