Ask Your Question

sup's profile - activity

2020-09-28 10:46:19 -0600 received badge  Nice Question (source)
2019-07-08 11:34:05 -0600 received badge  Famous Question (source)
2018-05-02 18:54:51 -0600 received badge  Notable Question (source)
2018-01-25 00:51:55 -0600 received badge  Famous Question (source)
2017-09-10 19:26:05 -0600 received badge  Popular Question (source)
2017-02-01 11:19:04 -0600 received badge  Notable Question (source)
2016-05-30 06:21:54 -0600 received badge  Popular Question (source)
2016-02-10 04:38:39 -0600 received badge  Popular Question (source)
2016-02-10 04:38:39 -0600 received badge  Notable Question (source)
2016-02-10 04:38:39 -0600 received badge  Famous Question (source)
2016-01-25 10:36:34 -0600 received badge  Famous Question (source)
2015-10-31 01:15:05 -0600 received badge  Notable Question (source)
2015-10-31 01:15:05 -0600 received badge  Popular Question (source)
2015-01-17 21:20:23 -0600 asked a question Is it possible to draw simple figures in a 3 dimensional Mat ?

I want to draw for example a rectangle bended backwards and project it to a 2D Mat to see effects of the perspective. If no, how can I create 3D Mats with simple shapes ? I have never used graphic engines, what is the simplest approach ?

2015-01-16 02:27:56 -0600 commented answer Should I use OpenMP or parallel_for_ for a simple for loop ?

thanks that makes sense

2015-01-16 02:26:02 -0600 asked a question Are cvMat and Cv::Mat interchangeable ?

Can I pass a pointer to Cv::Mat to a C program that will cast it to cvMat ? This is because I want to use a platform(renderscript) that only accepts C code

2015-01-12 07:08:54 -0600 received badge  Student (source)
2015-01-12 05:21:37 -0600 commented question Fill a std::vector with cv:Mat's

I don't understand, if clusters it the name of the structure type, shouldn't clusters.covs not make sense ? And also what is newCovs ?

2015-01-12 05:21:15 -0600 answered a question Fill a std::vector with cv:Mat's

I don't understand, if clusters it the name of the structure type, shouldn't clusters.covs not make sense ? And also what is newCovs ?

2015-01-12 02:26:20 -0600 asked a question Should I use OpenMP or parallel_for_ for a simple for loop ?

OpenMP is simplier since I only need to add one line, what is the advantage of parallel_for ?

2015-01-11 23:30:47 -0600 asked a question Quickest way to convert a vec3b to vec3d

I want to access a pixel, which is in uchar format, in double format, for some floating point operations. I am forced to use at<vec3b> since .at<vec3d> will access wrong elements. Is there a way to quickly convert it to vec3d or should I do it manually ?

Also, I thought about using at<mat> but it crashes without informations. Is this behavior normal, i.e Mat not supported ?

2015-01-11 09:23:23 -0600 received badge  Scholar (source)
2015-01-10 15:59:00 -0600 asked a question Will a parallel_for work for Android ?

Will this for example without any modification ? I am of course developing in native code. Is there a trick compared to the desktop version ?

2015-01-10 13:39:06 -0600 asked a question What is the correct way to convert a Mat to a Bitmap ?

I am working with OpenCV Android, I need to use a Java OCR library that works on bitmaps. Please, how can I convert my RGBA Mat (which by the way comes from Mat org.opencv.android.CameraBridgeViewBase.CvCameraViewFrame.rgba()) to a Bitmap ? Thanks

EDIT : I think I found the answer in the Utils class. But how to properly initialize the type of the Bitmap object so that it will be compatible with my Mat ?

2015-01-10 11:49:59 -0600 received badge  Editor (source)
2015-01-10 11:48:34 -0600 asked a question What happens if public Mat onCameraFrame(CvCameraViewFrame inputFrame) is called when the activity is still busy processing another frame ?

Will the frame be queued, so if 1 frame is processed per second, after 25 second, we would have processed only one second of the real world ? I want it not to be queued but skipped, so to have a "real-time" feel, even my program can only process 2 or3 frames.

Detail : I am studying the OpenCV Mixed Processing sample.

2015-01-10 11:45:31 -0600 commented answer What's the difference between minmaxloc and minmaxidx ?

Thank you very much, I missed that.

2015-01-10 11:44:50 -0600 received badge  Enthusiast
2015-01-09 18:43:16 -0600 asked a question What's the difference between minmaxloc and minmaxidx ?

The documentation gives no information about their difference.

2015-01-06 01:41:34 -0600 asked a question Advice tracking pedestrians

Hello, I have to write a program to track pedestrians, I thought about :

Using HOG to detect pedestrians in a given frame Associate detected pedestrians from two consecutive frames by euclidean distance. Kalman filter to smooth the trajectory for when hog doesn't work.

Is there an advice you could give me or is this a right approach ?

Thanks