opencv --> imagemagick

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

You could always write the IplImage image to disk and read it in with MagickReadImage(). If the resource limits are low ImageMagick will cache the pixels from disk rather than memory. Another possibility is to memory map the IplImage and use MagickReadImageBlob().
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

MagickReadImageBlob() accepts an image that is in memory. You give a pointer to an image and its length. Its up to you to figure out how to get that image into memory.
Post Reply