Reading individual pixels
Posted: 2015-04-06T08:07:59-07:00
Hi,
Apologies, I am sure looking for a very simple answer but I have now been browsing for 3 hours and cannot figure it out. Here is what I need: I am writing C program using MagicWand, read an image an converted it (greyscale, resized)
MagickTransformImageColorspace(wand, GRAYColorspace);
MagickScaleImage(wand,DHASH_WIDTH,DHASH_HEIGHT);
My understanding is that I know have an image with a single 8 bit channel. The only thing I would like to do is the most simple method to access my individual integer values of my grey-scaled pixels.
Thanks for anyone pointing me to the right answer.
Thanks,
Mercator
Apologies, I am sure looking for a very simple answer but I have now been browsing for 3 hours and cannot figure it out. Here is what I need: I am writing C program using MagicWand, read an image an converted it (greyscale, resized)
MagickTransformImageColorspace(wand, GRAYColorspace);
MagickScaleImage(wand,DHASH_WIDTH,DHASH_HEIGHT);
My understanding is that I know have an image with a single 8 bit channel. The only thing I would like to do is the most simple method to access my individual integer values of my grey-scaled pixels.
Thanks for anyone pointing me to the right answer.
Thanks,
Mercator