pixel-iterator functions
Posted: 2012-06-22T17:37:26-07:00
I'm developing an OCR application and using the Wand C api. (I'm new to ImageMagick). I'm using MagickExportPixels on a grayscale (monochrome) image to extract the pixel data. It works just fine but I'd like to speed it up if I could and I noticed that there are also pixel iterator methods and pixel wand methods in the Wand C api.
1) What exactly are pixel iterator methods? I'm assuming that they are ways to iterate over a pixel array?
2) Can I use pixel iterator methods with pixel wand methods to extract the pixel data and if so would that be a faster method of extracting the pixel data than with MagickExportPixels?
Thanks,
Harry Spier
1) What exactly are pixel iterator methods? I'm assuming that they are ways to iterate over a pixel array?
2) Can I use pixel iterator methods with pixel wand methods to extract the pixel data and if so would that be a faster method of extracting the pixel data than with MagickExportPixels?
Thanks,
Harry Spier