Replies: 1 comment 1 reply
-
It is recommended to use Emgu.CV.Mat (cv::Mat) instead of Image<,> (IplImage). Open CV is moving away from IplImage since v2.x, please migrate to Emgu.CV.Mat (cv::Mat) for future compatibility. If using Image<,> is a requirement, please create the dictionary as Dictionary<string, IInputArray>. IInputArray is a based class of Image<,>. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a Dictionary as outlined below. I am trying to create a Dictionary that will how different types of images. Example are below.
Dictionary:
protected Dictionary<string, Image<Emgu.CV.IColor, byte>> _Images = new Dictionary<string, Image<Emgu.CV.IColor, byte>>();
Example Usage of Dictionary
Image<Bgr, Byte> templateOverlay = new Image<Bgr, Byte>(3.Size);
_Images.Add("Test1", templateOverlay )
Image<Gray, Byte> contourImage = new Image<Gray, byte>(3)
_Images.Add("Test2", contourImage )
Beta Was this translation helpful? Give feedback.
All reactions