Ask Your Question

Leir's profile - activity

2015-03-12 06:08:34 -0600 received badge  Student (source)
2015-03-04 04:24:21 -0600 commented question Real time pose - tutorial

in the picture. Red dots are users imputed points(next to them are coresponding x,y,z value based on .ply) Green dots are backprojected 3D points from .ply based on computed pose...

2015-03-04 04:18:34 -0600 commented question Real time pose - tutorial

The tutorial is composed from two programs. One for registration and one for detection of pre-registrated object. My problem is in registration. Detection work fine. Results ar inaccurate but is becuse of wrong registration.

The program is based on manualy inserted 8 points (vertex of box) which are paired with corner of box from .ply file. (as shown at my picture) here it waits for user to press a key. After that feature points are detected, and checked if they lay at surface of the box. If they do, they are saved for detection program. If they dont they are tossed away. Detection and next steps of registration program are working alright. Problem is that Box is not placed,as result the 8 to 8 matches, in picture as it should...

2015-03-04 02:30:12 -0600 asked a question Real time pose - tutorial

Hi. I have been trying to adapt the real time pose estimation tutorial for my own data, but i cant get the registration to work right.

image description

I have try change SolvePnP modes and parametrs, difrent mode gives difrent results but non is so close as ITERATIVE shown at the picture here. Change of parametrs make same results or none.

Is there someone who would be able to help me make it more accurate?

All i did is set my own camera matrix, load my own(undistorted) image and own box in .ply format.

Edit: here is tutorial i am working with: http://docs.opencv.org/trunk/doc/tuto...

  Some points almost fit, maybe is problem with 3Dreprojection, but i also didnt found something fishy there...

I am going mad, how i am trying to found the problem. Thanks for any hints. Gabriel

2014-11-17 02:17:53 -0600 received badge  Scholar (source)
2014-11-17 02:17:45 -0600 commented answer Unwanted interface via imshow()

Thank you. That is what i wanted. I must missed the Qt tags when looking in namedWindow function.

2014-11-13 15:44:35 -0600 received badge  Editor (source)
2014-11-13 13:34:22 -0600 asked a question Unwanted interface via imshow()

Hi. I just installed opencv on ubuntu and when i created window with imshow() there are buttons and statistik. I was first surprised becuse in tutorials i have not seen these. Is there way to get rid of them? Other function which show just the image i want to? Or should i get used to them?

Edit: adding code and picture

code is simple:

#include<opencv2/opencv.hpp>

using namespace cv;

int main(){
    Mat img = imread("/home/test.jpeg",CV_LOAD_IMAGE_GRAYSCALE);
    imshow("test",img);
    waitKey(0);
    return 0;
}

window with picture looks like this:

image description