Ask Your Question

flankechen's profile - activity

2014-03-31 04:38:31 -0600 answered a question Stereorectify ROI Valid?

It seems that the ROI is not defined in top-left+width,height but chopping from the margin.

I got ROIs like:

    %YAML:1.0
validRoi1: !!opencv-matrix
   rows: 1
   cols: 4
   dt: i
   data: [ 60, 40, 36, 59 ]
validRoi2: !!opencv-matrix
   rows: 1
   cols: 4
   dt: i
   data: [ 14, 55, 45, 1 ]

and the max of data[0-3] referring left,top, right,bottom chopping pixels.

I have a 640*480 retify image and line(retify,Point(60,55),Point(480-45,640-59),Scalar(0,255,0),1); goes through the ROI successfully.

If these helps, please share what you see and why this ROI is not top-left+width,height like other opencv roi. I have seem others stereoRectify() out the top-left+width,height roi.

Strange.......

2013-07-26 02:48:33 -0600 answered a question Is there a way of 'hiding' the opencvManager icon from the user?

Of course, you can build OpenCV in static link and no manager is used (OpenCV will be integrated to your .apk).

Check this out here.

However, keep in mind that this will build a huge .apk

2013-07-25 21:39:04 -0600 received badge  Supporter (source)
2013-07-25 21:36:52 -0600 commented answer Mat::convertto() not working in javacv, tutorial 2 mixed

Thanks a lot. It works! And why convertto() is not working at all? BTW, where should I find these kinds of handbook for javacv?

2013-07-25 21:32:48 -0600 received badge  Scholar (source)
2013-07-25 06:36:20 -0600 asked a question Mat::convertto() not working in javacv, tutorial 2 mixed

I am developing an android opencv apps. Based on Opencv4android SDK tutorial 2- mixed process.

in the frame processing functionpublic Mat onCameraFrame(CvCameraViewFrame inputFrame) {}

since the Frame is RGBA and I want to make RGB by doing show

 mRgba = inputFrame.rgba();
 mGray = inputFrame.gray();

 Mat mRgb=new Mat(640,480,CvType.CV_8UC3);

 mRgba.convertTo(mRgb, CvType.CV_8UC3);

 PinkImage(mRgba.dataAddr());

I debug and log the things I passed to jni part, and I find it's not working at all. mRgb is CV_8UC4 even after the converto();

any idea for this?

point me out please, I write C++ opencv for a while and remember just a bit of java.

2013-05-30 04:58:55 -0600 answered a question 2.4.5 with TBB windows x64 (Windows 7) installation problem

I am having exactly the same problem. saying that ....\lib\debug\opencv_core245d.lib is missing.