Ask Your Question

Luca Del Tongo's profile - activity

2020-10-17 02:38:50 -0600 received badge  Nice Question (source)
2017-07-12 04:39:45 -0600 received badge  Famous Question (source)
2015-06-17 14:13:03 -0600 received badge  Notable Question (source)
2014-11-21 03:49:07 -0600 received badge  Popular Question (source)
2013-10-25 07:35:45 -0600 received badge  Teacher (source)
2013-10-25 06:00:49 -0600 commented question CvInvoke.cvContourArea in c#, Emgu

Given that it was quite simple to reply to this question I did it :-) Feel free to delete it as it's not related to opencv and break site rules...

2013-10-25 02:34:20 -0600 answered a question CvInvoke.cvContourArea in c#, Emgu

You should use EmguCv classes and C# features. Here is a small toy example that replicate what you want to do :

         using (MemStorage storage = new MemStorage()) //allocate storage for contour approximation         
     {
         Contour<Point> contour = new Contour<Point>(storage);


             contour.Push(new Point(0, 0));
             contour.Push(new Point(0, 10));
             contour.Push(new Point(10, 10));
             contour.Push(new Point(10, 0));

         double area0 = contour.Area;
         Contour<Point> approxContour = contour.ApproxPoly(contour.Perimeter * 0.05, storage);
     }

Hope this helps, Luca

2013-09-26 02:26:09 -0600 received badge  Supporter (source)
2013-09-04 04:25:42 -0600 commented answer C# official bindings roadmap

I take a look at your wrapper and made a simple toy example with it and it works fine. The additional benefit of your wrapper and the only thing that seems more difficult to automate is GC management, other than that it seems possible to create a generator that produce an output similar to yours.

2013-08-24 09:53:15 -0600 commented answer C# official bindings roadmap

Great news from you !!!! Maybe the best thing for the whole community would be to join your effort into pull request for C# automatic wrapper https://github.com/Itseez/opencv/pull/604

2013-08-24 09:41:08 -0600 commented answer C# official bindings roadmap

@Jean-Francois Thanks a lot for your comment. I agree with you, I developed more than one year ago my master thesis using Emgu (and some youtube tutorials) and it's the best wrapper for .NET developers. I see only some potential issues: 1) only one developer 2) Being an hand made wrapper this can introduce another layer of bugs 3) it's not always up to date with opencv, especially lately with new opencv development cycle

2013-08-16 04:37:38 -0600 commented answer C# official bindings roadmap

Maybe it could be an interesting project to insert into gsoc2014 :-)

2013-08-15 16:41:17 -0600 commented answer C# official bindings roadmap

Thanks a lot Kirill for your detailed explanation. As you underline, latest opencv c++ api is really more OO, so it makes sense to simply wrap it. EmguCV is really good but one of its major issues is licensing. I agree with you on your performance concerns about using IKVM + JNI calls. It' just an idea but maybe the best strategy could be the one defined by sharpdx, i.e create a tool to autogenerate wrapper from opencv headers.

2013-08-15 09:49:41 -0600 received badge  Scholar (source)
2013-08-15 02:55:03 -0600 received badge  Student (source)
2013-08-14 10:05:48 -0600 asked a question C# official bindings roadmap

I read latest Opencv roadmap presentation and I'd like to have some more info on c# bindings.

I'd like to know if they will be shipped with final Opencv 3.0 release or not. It would be also interesting to know if it will be a simple wrapper or more object oriented following the approach proposed by EmguCV.