Ask Your Question

stereoMatching's profile - activity

2020-10-28 01:27:32 -0600 received badge  Nice Question (source)
2020-06-06 06:08:44 -0600 received badge  Famous Question (source)
2018-04-27 09:40:36 -0600 received badge  Notable Question (source)
2016-09-17 10:23:16 -0600 received badge  Popular Question (source)
2013-12-27 19:46:51 -0600 received badge  Scholar (source)
2013-12-27 09:56:09 -0600 asked a question copy data to cv::Mat with specific type assigned by the user
cv::Mat A(3, 3, CV_8UC1);
cv::Mat B;
B.create(A.size(), CV_32FC1);
std::cout<<A.type()<<", "<<B.type()<<std::endl;
A.copyTo(B);
std::cout<<A.type()<<", "<<B.type()<<std::endl;

I want to copy A to B without changing the type of B.

Any clean solution to do this without writing explicit loop?Thanks

ps : I don't want to convert B to CV_32FC1 after copied

2013-12-27 05:41:56 -0600 received badge  Supporter (source)
2013-12-27 05:41:48 -0600 commented question Qt + Android + OpenCV is possible?

I can use other openCV(imgproc, core)modules with Qt on android, but not the camera module of openCV.(Qt5.2.1 would allow us to capture the image buffer from QCamera).

2013-12-27 05:31:21 -0600 received badge  Student (source)
2013-12-27 04:54:22 -0600 received badge  Editor (source)
2013-12-27 04:52:49 -0600 asked a question Split contours into many small rectangles

As the graph show, the most easiest solution is return a bounding rect surrounded the contour, split the bounding rect to small rectangles, but it is much harder for irregular shape.What kind of algorithm would you suggest to split the contour?

image description

2012-11-18 07:36:54 -0600 asked a question Implement super resolution from paper

I would like to implement an algorithm from "Super-Resolution from a Single Image" with the help of openCV.But I don't know I should pay the author patent fee or not, I remember that you have to pay money for some algorithms like z scan.

The website of the paper http://www.wisdom.weizmann.ac.il/~vision/SingleImageSR.html