jean ala
asked on
Simple Image processing questions
Hello
A coloured image has 3 values (R,G,B) so how the three values are stored in the matrix?
1-My understanding is that in every cell of the matrix, there is one value so I am wondering how Jpeg for example store the three values?
2-If I have an image and I would like to see the whole matrix (all the colour values) is there a program that convert the image to a text file hat has all the colour values of the image?
Thank you
A coloured image has 3 values (R,G,B) so how the three values are stored in the matrix?
1-My understanding is that in every cell of the matrix, there is one value so I am wondering how Jpeg for example store the three values?
2-If I have an image and I would like to see the whole matrix (all the colour values) is there a program that convert the image to a text file hat has all the colour values of the image?
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
2) To dump the internal format of a JPEG image produces as massive amount of data + require a good bit of time to dump...
ImageMagick is likely the best all round tool to dump all images in various formats. During the dump, 1x CPU will spin at 100%. For example...
Open in new window
Output data will be many lines of the form...
Open in new window
So it's easy to dump the data of an image + I'm unsure what you'd do with the results.