Ask Your Question

Jose Luis Blanco's profile - activity

2015-06-18 07:34:07 -0600 received badge  Guru (source)
2015-06-18 07:34:07 -0600 received badge  Great Answer (source)
2015-02-06 07:09:37 -0600 received badge  Famous Question (source)
2015-01-07 10:45:01 -0600 received badge  Good Question (source)
2014-07-16 04:00:16 -0600 received badge  Notable Question (source)
2014-05-12 10:56:21 -0600 received badge  Good Answer (source)
2014-05-12 10:56:21 -0600 received badge  Enlightened (source)
2014-05-06 00:06:53 -0600 received badge  Popular Question (source)
2014-01-21 08:58:00 -0600 received badge  Nice Question (source)
2014-01-21 08:57:58 -0600 received badge  Nice Answer (source)
2013-11-04 14:16:19 -0600 received badge  Scholar (source)
2013-11-03 10:57:41 -0600 received badge  Self-Learner (source)
2013-11-03 09:19:07 -0600 answered a question Any way to convert IplImage* to cv::Mat in OpenCV 3.0.0?

For the records: taking a look at core/src/matrix.cpp it seems that, indeed, the constructor cv::Mat(IplImage*) has disappeared.

But I found this alternative:

    IplImage * ipl = ...;
    cv::Mat m = cv::cvarrToMat(ipl);  // default additional arguments: don't copy data.
2013-11-01 07:58:16 -0600 received badge  Student (source)
2013-11-01 07:28:57 -0600 asked a question Any way to convert IplImage* to cv::Mat in OpenCV 3.0.0?

Hi,

I'm having problems porting some legacy code to OpenCV 3.X (git master), because can't find any replacement for this kind of conversions:

    IplImage * ipl1, *ipl2;
    // ...
    const cv::Mat m = cv::Mat(ipl,false);  // Fails 
    cv::Mat  m2 = ipl2;  // Fails

Have all those constructors been removed from the new OpenCV 3.X for some reason? Are there any alternatives?

Thanks.

2013-11-01 07:24:33 -0600 received badge  Nice Answer (source)
2013-11-01 07:22:18 -0600 received badge  Editor (source)
2013-11-01 07:20:33 -0600 commented answer Errors building OpenCV-2.4.6 with Visual Studio 2013

The changes were integrated into the main OpenCV repo via a pull-request, so I removed my fork. Here's the pull request: https://github.com/Itseez/opencv/pull/1653/commits

2013-10-29 06:39:26 -0600 received badge  Teacher (source)
2013-10-20 12:57:11 -0600 received badge  Necromancer (source)
2013-10-20 10:36:17 -0600 answered a question Errors building OpenCV-2.4.6 with Visual Studio 2013

This specific error can be fixed by changing that line to:

obj.info()->addParam<FeatureDetector>(obj, "detector", obj.detector, false, 0, 0, "Detector algorithm.");

But there're a few other errors (and nasty internal compiler errors!) that have to be handled while building OpenCV in MSVC 2013. I uploaded the list of corrections to this fork of OpenCV in GitHub. --> pull request