Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Even though I use Emgu.CV and also referenced the Emgu.CV.dll I am getting the same error when I use StructuringElementEx. Please help me. Thanks in advance.
Posted

1 solution

A little google will help out. StructuringElementEx doesn't exist anymore in the new version.

In the new version, use something like this:
Mat rect_6 = CvInvoke.GetStructuringElement(Emgu.CV.CvEnum.ElementShape.Rectangle, new Size(6, 6), new Point(3, 3));

Check this link for more info:
http://www.emgu.com/forum/viewtopic.php?t=4946[^]

Good luck!
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900