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.
Thanks!