Ask Your Question

sigmoid90's profile - activity

2020-12-18 07:38:58 -0600 asked a question Problem with undistortPoints() function in pose estimation of image

Problem with undistortPoints() function in pose estimation of image I have written about my task here. I have a set of

2020-12-07 03:35:30 -0600 commented question Problem with building pose Mat from rotation and translation matrices

@berak I solved the issue using this solution. I suppose now to calculate camera pose for the query image using the pose

2020-12-06 08:23:18 -0600 commented question Problem with building pose Mat from rotation and translation matrices

Updated the question as well.

2020-12-06 08:22:42 -0600 edited question Problem with building pose Mat from rotation and translation matrices

Problem with building pose Mat from rotation and translation matrices I have two images captured in the same space (scen

2020-12-06 08:20:06 -0600 commented question Problem with building pose Mat from rotation and translation matrices

thank you. Code for the method buildPoseMat: struct Pose { Pose(Mat _R, vector<float>_t) : R(_R) { t

2020-12-06 05:24:25 -0600 edited question Problem with building pose Mat from rotation and translation matrices

Problem with building pose Mat from rotation and translation matrices I have two images captured in the same space (scen

2020-12-06 04:51:36 -0600 asked a question Problem with building pose Mat from rotation and translation matrices

Problem with building pose Mat from rotation and translation matrices I have two images captured in the same space (scen

2020-12-02 09:56:38 -0600 commented question Projecting point cloud to image plane in order to estimate camera pose

Thank you very much for support. I will try it.

2020-12-02 08:09:52 -0600 commented question Projecting point cloud to image plane in order to estimate camera pose

@berak I suppose to use these view images to get camera pose of the query image. My intuition is to calculate some keypo

2020-12-02 06:51:01 -0600 commented question Projecting point cloud to image plane in order to estimate camera pose

thank you. I can give a part of task description "a user will have the ability to create 3D tours from their mobile devi

2020-12-02 06:24:02 -0600 commented question Projecting point cloud to image plane in order to estimate camera pose

@berak I really need your help here. What do you mean by 'have one more transformation in the way'? I see the projecting

2020-12-02 02:08:29 -0600 commented question Projecting point cloud to image plane in order to estimate camera pose

@Eduardo Thank you for the algorithm! How I can project the pointcloud using an intrinsics matrix and what data should I

2020-12-02 01:38:45 -0600 received badge  Enthusiast
2020-12-01 10:18:57 -0600 asked a question Pose estimation of image from a point cloud

Pose estimation of image from a point cloud I have a 3D point cloud of scene, its set of views with known poses and a ne

2020-12-01 02:28:56 -0600 commented question Projecting point cloud to image plane in order to estimate camera pose

I have another idea to match the query image to image views of scene with known poses and use SolvePnP method. Here is d

2020-11-30 10:59:42 -0600 commented question Projecting point cloud to image plane in order to estimate camera pose

Ok. I will try this. But this approach will not be automatic. It will require manual marking of points once we get new q

2020-11-30 10:00:23 -0600 commented question Projecting point cloud to image plane in order to estimate camera pose

Ok. I see. Btw I will get a dense point cloud of scene so no worries about holes. But how about the projecting the point

2020-11-30 09:40:07 -0600 commented question Projecting point cloud to image plane in order to estimate camera pose

Ok. I see. Btw I will get a dense point cloud of scene so no worries about holes. But how about the projecting the point

2020-11-30 09:38:53 -0600 commented question Projecting point cloud to image plane in order to estimate camera pose

Ok. I see. Btw I will get a dense point cloud of scene so no worries about holes. But how about the projecting the point

2020-11-30 08:28:04 -0600 commented question Projecting point cloud to image plane in order to estimate camera pose

i'm somehow smelling an XY problem here. What do you mean? More relates to images? how are those 2 things connected ?

2020-11-30 07:40:57 -0600 commented question Projecting point cloud to image plane in order to estimate camera pose

Thank you. I see. So is there a way to effectively match the query image with the point cloud of scene?

2020-11-30 06:35:18 -0600 commented question Projecting point cloud to image plane in order to estimate camera pose

I also tried this method to project unorganized point cloud to image. However it failed with Segmentation fault error

2020-11-30 06:11:44 -0600 commented question Projecting point cloud to image plane in order to estimate camera pose

so, some "structure from motion" approach ? tell us more, this is important (or at least, interesting) ! I think yes. T

2020-11-30 05:32:02 -0600 commented question Projecting point cloud to image plane in order to estimate camera pose

Thank you for answer. It's a reconstructed point cloud out of photos from phone camera. My task is to recover the camera

2020-11-30 04:55:58 -0600 received badge  Student (source)
2020-11-30 03:49:10 -0600 commented question Projecting point cloud to image plane in order to estimate camera pose

I added a snapshot of my scene point cloud and other 2d image.

2020-11-30 03:48:20 -0600 edited question Projecting point cloud to image plane in order to estimate camera pose

Projecting point cloud to image plane in order to estimate camera pose I am working on a task of image registration in p

2020-11-29 16:37:20 -0600 commented question Projecting point cloud to image plane in order to estimate camera pose

@berak I have Meshlab. Is it possible to render the cloud to an image using meshlab?

2020-11-27 11:02:41 -0600 commented question Converting Mat of point cloud mesh to vector<cv::Point3d>

Btw pcl_mesh2pcd gives me Segmentation fault (vtkPLYReader (0xe0f6e0): Cannot read geometry)

2020-11-27 10:05:55 -0600 commented question Converting Mat of point cloud mesh to vector<cv::Point3d>

printing out the 1st 2 lines of my scene_mat gives this: [0.021613657, 0.60601699, -1.5027865, 0.72544974, 0.53804189,

2020-11-27 09:04:21 -0600 commented question Converting Mat of point cloud mesh to vector<cv::Point3d>

I have updated the question with listing header an d few data lines in this PLY file. The size() is the size of the scen

2020-11-27 09:02:52 -0600 received badge  Editor (source)
2020-11-27 09:02:52 -0600 edited question Converting Mat of point cloud mesh to vector<cv::Point3d>

Converting Mat of point cloud mesh to vector<cv::point3d> My task is to project a point cloud of a scene to a plan

2020-11-27 07:16:16 -0600 asked a question Converting Mat of point cloud mesh to vector<cv::Point3d>

Converting Mat of point cloud mesh to vector<cv::point3d> My task is to project a point cloud of a scene to a plan

2020-11-27 05:36:50 -0600 asked a question Projecting point cloud to image plane in order to estimate camera pose

Projecting point cloud to image plane in order to estimate camera pose I am working on a task of image registration in p

2020-11-26 17:03:57 -0600 commented answer Error "Assertion failed (scn == 3 || scn == 4) in cvtColor" when calculating ORB features on point cloud

@berak I have an idea to project point cloud of scene to a plane image and match the query image against that image. Cou

2020-11-26 14:59:22 -0600 commented answer Error "Assertion failed (scn == 3 || scn == 4) in cvtColor" when calculating ORB features on point cloud

@berak I got an idea to solve the matching problem. I can split point cloud of scene into a set of images associated wit

2020-11-26 14:54:39 -0600 received badge  Supporter (source)
2020-11-26 11:54:50 -0600 commented answer Error "Assertion failed (scn == 3 || scn == 4) in cvtColor" when calculating ORB features on point cloud

Thank you. I see this approach is the most suitable in my case and I will try to overcome the issues you remind above.

2020-11-26 11:22:59 -0600 marked best answer Error "Assertion failed (scn == 3 || scn == 4) in cvtColor" when calculating ORB features on point cloud

My task is to register image from camera to point cloud of scene using C++. My intuition here is to calculate ORB descriptors on both camera image and point cloud of scene so I can obtain point correspondences btw them and apply SolvePnP function to estimate the camera pose. I following this tutorial. I load the point cloud of scene in PLY format to cv::Mat and try to calculate ORB decriptors on it. Resultant Mat object has single channel. Here is my code:

Mat scene_mat = loadPLYSimple("a_cloud.ply", 1);

vector<KeyPoint> kp1, kp2;
Mat des1, des2;
Ptr<Feature2D> orb = ORB::create();

orb->detectAndCompute(scene_mat, Mat(), kp2, des2);

When run this code I get error

OpenCV Error: Assertion failed (scn == 3 || scn == 4) in cvtColor, file /home/vladimir/opencv/modules/imgproc/src/color.cpp, line 7564 terminate called after throwing an instance of 'cv::Exception'

What is the problem with this code? Is this correct way to calculate ORB descriptors on point cloud?

2020-11-26 11:22:58 -0600 received badge  Scholar (source)
2020-11-26 10:49:58 -0600 commented answer Error "Assertion failed (scn == 3 || scn == 4) in cvtColor" when calculating ORB features on point cloud

I have image from camera, 3D point cloud of scene and camera calibration data (i.e. focal length, principal center point

2020-11-26 09:19:39 -0600 commented answer Error "Assertion failed (scn == 3 || scn == 4) in cvtColor" when calculating ORB features on point cloud

ok. Is there a way to obtain camera pose for an image if I have camera calibration data?

2020-11-26 08:07:32 -0600 commented answer Error "Assertion failed (scn == 3 || scn == 4) in cvtColor" when calculating ORB features on point cloud

ok. Do you know another way around?

2020-11-26 06:56:15 -0600 commented answer Error "Assertion failed (scn == 3 || scn == 4) in cvtColor" when calculating ORB features on point cloud

I see. I can't add any markers to the scene. I only given point cloud of scene and image from camera. My goal is to obta