Ask Your Question

Tetragramm's profile - activity

2019-01-21 22:28:40 -0500 commented question How can I get bounding box around the specific quadrants(locations) the difference is in, instead of the exact difference of contents in image?

Ok, so try this: use the absdiff function to subtract your "empty" image from the current image (the one you're trying

2019-01-20 17:35:29 -0500 commented question How can I get bounding box around the specific quadrants(locations) the difference is in, instead of the exact difference of contents in image?

Have you figured out how to tell the difference between occupied and not? For just one box, can you tell the difference

2019-01-19 21:26:08 -0500 received badge  Nice Answer (source)
2019-01-19 14:35:41 -0500 answered a question Transform 2D Point into 3D Line

Take a look HERE. the variable los after line 167 contains what you're looking for. Note that it is a unit vector pro

2019-01-19 14:32:48 -0500 answered a question Conversion 16bit image to 8 bit image

There are several options, depending on what you mean. All lose information in one way or another. dst.converTo(src,

2019-01-19 14:24:25 -0500 commented question Why 'imencode' taking so long ?

4096x4096x8bit isn't the biggest I've seen. imencode is meant for long-term storage, where file-size is much more imp

2019-01-19 14:12:03 -0500 commented question How can I get bounding box around the specific quadrants(locations) the difference is in, instead of the exact difference of contents in image?

By quadrant you mean, literal quadrant? The quarter of the image, like top left, bottom right, ect? Or something else?

2019-01-19 14:09:29 -0500 answered a question cv::undistortPoints not working for me ....

Take a look at the documentation HERE. See the last argument, P=noArray()? It says it's the "New camera matrix (3x3) .

2019-01-19 12:45:12 -0500 received badge  Nice Answer (source)
2019-01-15 22:21:06 -0500 edited question How to calculate the angle between camera and a person?

How to calculate the angle between camera and a person? I would like to calculate the human body angle with respect to t

2019-01-15 22:20:46 -0500 edited question How to calculate the angle between camera and a person?

How to calculate the angle between camera and a person? I would like to calculate the human body angle with respect to t

2019-01-15 18:34:30 -0500 edited question [Opencv4] Settings.write not working Incorrect element name {; should start with a letter or '_' in function 'operator<<'

[Opencv4] Settings.write not working Incorrect element name {; should start with a letter or '_' in function 'operator&

2019-01-15 18:34:12 -0500 edited question [Opencv4] Settings.write not working Incorrect element name {; should start with a letter or '_' in function 'operator<<'

[Opencv4] Settings.write not working Incorrect element name {; should start with a letter or '_' in function 'operator&

2019-01-13 17:27:35 -0500 commented question Problem with generating point cloud from calibrated images

I don't actually do much with Stereo, but take a look at THIS tutorial. It seems to represent your issue.

2019-01-13 00:42:00 -0500 edited question cross-compile opencv for arm : c++: error: unrecognized command line option ‘-mthumb’; did you mean ‘-mtbm’?

cross-compile opencv for arm : c++: error: unrecognized command line option ‘-mthumb’; did you mean ‘-mtbm’? Dear All,

2019-01-13 00:41:28 -0500 edited question cross-compile opencv for arm : c++: error: unrecognized command line option ‘-mthumb’; did you mean ‘-mtbm’?

cross-compile opencv for arm : c++: error: unrecognized command line option ‘-mthumb’; did you mean ‘-mtbm’? Dear All,

2019-01-11 19:20:33 -0500 commented question Problem with generating point cloud from calibrated images

You are saying that the bottom picture from lidarview is a display of the .ply created from the example? What does the

2019-01-09 22:13:50 -0500 answered a question Convert Image Points to Azimuth and Elevation

Take a look HERE PositionCalculatorImpl::addMeasurementImpl in src/positionCalc.cpp is basically a calculation of Az/El

2019-01-09 21:58:53 -0500 answered a question Long Distance object detection

There's a couple of questions in your question. So let me know if I got everything. The camera synchronization is not

2019-01-09 21:45:08 -0500 commented question How to remove text from manga page?

What he means is, we certainly aren't going to do anything for you. This forum is to answer technical questions about O

2018-12-22 16:58:45 -0500 answered a question Is there any difference between calculating 3d points from a depth map, vs triangulating?

Exactly? Probably not. Unless they used OpenCV internally. It should be pretty close though, as long as you're using t

2018-12-21 23:08:52 -0500 commented question imshow is returning lots of static like an old tv. Has anyone else seen this?

Basic troubleshooting: Is it just imshow or do you see it with imwrite too? Meaning, is the problem in imshow or in the

2018-12-21 23:07:18 -0500 answered a question how to perform triangulation for monocular camera?

You need to have multiple views. If you don't know anything about the relative rotation and translation, you use the S

2018-11-19 17:51:09 -0500 commented answer estimateAffinePartial2D and estimateAffine2D

I'm afraid there are no examples using it, and I'm not a python person. The conversion from C++ to Python for most thin

2018-11-13 21:24:29 -0500 answered a question What is the third argument in CommandLineParser parser() function?

This class has pretty good documentation HERE. I actually learned something looking it up just now. In short, the brac

2018-10-29 16:59:49 -0500 commented question OpenCV in parallel threads

Can you specify compiler, exact version (if it's 3.4.3 ect), did you build it yourself from source, exact compiler flags

2018-10-27 20:33:23 -0500 commented question putText not working for video frame

I'm not very experienced with Java, but nothing there does any encoding into the JPEG format, does it? If you have a JP

2018-10-24 21:11:24 -0500 commented question how can open raw data video file

You said it didn't work, therefore the answer is no. You cannot open it using VideoCapture. Now, I personally know at l

2018-10-23 20:40:20 -0500 answered a question Source code for GaussianBlur

Github's search is pretty terrible. It's in imgproc/smooth.cpp, line 4085. https://github.com/opencv/opencv/blob/9c23f2

2018-10-18 19:23:54 -0500 answered a question Help to identify orientation of R.A.M. module

How about, threshold the image so you have the whole RAM as a white mask, and find the center. Then take the original i

2018-10-16 18:30:05 -0500 commented question solvePnP and problems with perspective

Can you perhaps post the relevant portion of your code, and ideally, one image that causes it, and a very similar one th

2018-10-16 18:26:33 -0500 commented question solvePnP and problems with perspective

Can you perhaps post the relevant portion of your code, and ideally, one image that causes it, and a very similar one th

2018-10-13 21:46:26 -0500 commented answer Multiple markers along trajectory

You can (more or less) average rotations using quaternions. Look it up to see what the limits are. For a transition, y

2018-10-13 21:38:14 -0500 commented question How can I use OpenCV to find the center of mass.

Is that not Java? That looks like the normal OpenCV Java to me.

2018-10-12 21:19:13 -0500 answered a question Multiple markers along trajectory

It's on my list for the mapping3d module I'm working on, but not done yet. Basically, you have to take one as your pr

2018-10-12 21:05:10 -0500 answered a question Remove People Using Running Median of Frames

OpenCV does not have a Temporal Median algorithm. You can use one of the background subtraction algorithms and call get

2018-10-12 20:59:58 -0500 answered a question opencv, aruco marker tracking and high resolution cameras

It does work with very high resolutions. Some functions use INT internally and break when image.rows*image.cols is grea

2018-10-12 20:50:24 -0500 commented question How can I use OpenCV to find the center of mass.

Take a look at the moments function. m10/m00 is x, and m01/m00 is y, unless they're backwards. You should test that be

2018-10-12 20:49:53 -0500 commented question How can I use OpenCV to find the center of mass.

Take a look at the moments function. m10/m00 is x, and m01/m00 is y, unless their backwards. You should test that befo

2018-09-26 18:19:25 -0500 commented answer 3D reconstruction with known camera parameters

What you need to know is that you have N cameras with known parameters, and M points on an object. imagePointsPerView

2018-09-26 18:18:20 -0500 commented answer 3D reconstruction with known camera parameters

Line 196 is, I believe, correct. It verifies that there are as many elements of the vector<cv::mat> named tvecs a

2018-09-25 19:08:56 -0500 commented answer 3D reconstruction with known camera parameters

A trivial example is to set up your cameras and calibrate them (camera matrix and distortion), and place a Charuco board

2018-09-25 19:07:16 -0500 commented answer 3D reconstruction with known camera parameters

distortionMatrices is the same as cameraMatrices, just the distortion matrix. tvecs is a vector of N cv::Mat, the loca

2018-09-25 18:50:14 -0500 commented answer 3D reconstruction with known camera parameters

What you need to know is that you have N cameras with known parameters, and M points on an object. imagePointsPerView

2018-09-16 19:14:19 -0500 commented question Program to output the coordinates of all white pixels in a binary mat?

I think you meant to link findNonZero. You can also get the answer you want directly, though you don't quite describe y

2018-09-14 21:33:35 -0500 answered a question Weird result from MorphologyEx

Ok, I think I see the problem. First, (but not the problem) we don't know anything about OpenCVSharp, and it's entirely

2018-09-14 17:51:56 -0500 commented question Weird result from MorphologyEx

Can you post a sample image, that's not working. Particularly as a .png, so we can see the exact same pixel values.

2018-09-09 15:09:38 -0500 commented question How to use camera parameters to calculate world distance in cm between pixels?

You really do need to read that link berak is posting. In short, for a 3D maze, you need a minimum of 4 known points in

2018-09-09 13:30:21 -0500 commented question How to use camera parameters to calculate world distance in cm between pixels?

So this maze, I assume it's 2D? You have to know something about the size of it for this to work. Either the locations

2018-09-07 17:42:04 -0500 commented question recoverPose and triangulatePoints - 3D results are incorrect

Did you plot them in 3D in viz? You can use that to draw the camera positions as well, which will help with the visuali