howto use MagickGetImageHistogram
Posted: 2011-06-21T00:20:20-07:00
hi guys
this is my first post
the question: how can i use MagickGetImageHistogram in iPhone SDK (Objective C)?
Simple code
I'm interested in the method
who is "size_t"?
MagickGetImageHistogram is an array or something?
Thanks
this is my first post
the question: how can i use MagickGetImageHistogram in iPhone SDK (Objective C)?
Simple code
Code: Select all
MagickWandGenesis();
magick_wand = NewMagickWand();
NSData * dataObject = UIImagePNGRepresentation([UIImage imageNamed:@"myimage.jpg"]);
MagickBooleanType status;
status = MagickReadImageBlob(magick_wand, [dataObject bytes], [dataObject length]);
if (status == MagickFalse) {
ThrowWandException(magick_wand);
}
PixelWand *p_wand;
p_wand = NewPixelWand();
Code: Select all
MagickGetImageHistogram(magick_wand, size_t * );
MagickGetImageHistogram is an array or something?
Thanks