I am trying to convert an image loaded in from a GIF via Magick++ into a cv::Mat. I have already converted from cv::Mat to Magick::Image but cannot seem to find how to pull the data out of an Image in Magick in order to load it into a Mat. What's the best way to do this?
For reference, in reverse: http://stackoverflow.com/questions/8227 ... agickimage
Notes: I want to get a RGBA Mat, which is what was loaded in, with the appropriate settings (as far as I know) when making the GIF.
Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.
2 posts • Page 1 of 1