3d-reconstruction

Creating OOBB from points

社会主义新天地 提交于 2019-11-29 21:04:04
How can I create minimal OOBB for given points? Creating AABB or sphere is very easy, but I have problems creating minimal OOBB. [edit] First answer didn't get me good results. I don't have huge cloud of points. I have little amount of points. I am doing collision geometry generation. For example, cube has 36 points (6 sides, 2 triangles each, 3 points for each triangle). And algorithm from first post gave bad results for cube. Example points for cube: http://nopaste.dk/download/3382 (should return identity axis) The PCA/covariance/eigenvector method essentially finds the axes of an ellipsoid

3d model construction using multiple images from multiple points (kinect)

痞子三分冷 提交于 2019-11-28 21:36:25
问题 is it possible to construct a 3d model of a still object if various images along with depth data was gathered from various angles, what I was thinking was have a sort of a circular conveyor belt where a kinect would be placed and the conveyor belt while the real object that is to be reconstructed in 3d space sits in the middle. The conveyor belt thereafter rotates around the image in a circle and lots of images are captured (perhaps 10 image per second) which would allow the kinect to catch

Q matrix for the reprojectImageTo3D function in opencv

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-28 20:53:52
I am doing a project in opencv to detect obstacle in the path of a blind person using stereo calibration. I have calculated the disparity map correctly. Now to find the distance of obstacle from the camera, I want its 3D coordinates [X,Y,Z] , which I am guessing can be found by reprojectImageTo3D(), but I dont have the Q matrix to use in this function because the Q matrix I am getting from stereoRectify() is coming null probably because I used pre calibrated images. Although I do have the inrinsic and extrinsic parameters of my camera. So my question is that how can I manually create the Q

Camera motion from corresponding images

邮差的信 提交于 2019-11-28 19:45:14
I'm trying to calculate a new camera position based on the motion of corresponding images. the images conform to the pinhole camera model. As a matter of fact, I don't get useful results, so I try to describe my procedure and hope that somebody can help me. I match the features of the corresponding images with SIFT, match them with OpenCV's FlannBasedMatcher and calculate the fundamental matrix with OpenCV's findFundamentalMat (method RANSAC). Then I calculate the essential matrix by the camera intrinsic matrix (K): Mat E = K.t() * F * K; I decompose the essential matrix to rotation and

3d reconstruction from 2 images without info about the camera

给你一囗甜甜゛ 提交于 2019-11-28 15:44:28
I'm new in this field and I'm trying to model a simple scene in 3d out of 2d images and I dont have any info about cameras. I know that there are 3 options : I have two images and I know the model of my camera (intrisics) that I loaded from a XML for instance loadXMLFromFile() => stereoRectify() => reprojectImageTo3D() I don't have them but I can calibrate my camera => stereoCalibrate() => stereoRectify() => reprojectImageTo3D() I can't calibrate the camera (it is my case, because I don't have the camera that has taken the 2 images, then I need to find pair keypoints on both images with SURF,

3D reconstruction — How to create 3D model from 2D image?

我是研究僧i 提交于 2019-11-28 15:10:57
If I take a picture with a camera, so I know the distance from the camera to the object, such as a scale model of a house, I would like to turn this into a 3D model that I can maneuver around so I can comment on different parts of the house. If I sit down and think about taking more than one picture, labeling direction, and distance, I should be able to figure out how to do this, but, I thought I would ask if someone has some paper that may help explain more. What language you explain in doesn't matter, as I am looking for the best approach. Right now I am considering showing the house, then

Camera motion from corresponding images

只愿长相守 提交于 2019-11-27 12:30:45
问题 I'm trying to calculate a new camera position based on the motion of corresponding images. the images conform to the pinhole camera model. As a matter of fact, I don't get useful results, so I try to describe my procedure and hope that somebody can help me. I match the features of the corresponding images with SIFT, match them with OpenCV's FlannBasedMatcher and calculate the fundamental matrix with OpenCV's findFundamentalMat (method RANSAC). Then I calculate the essential matrix by the

3d reconstruction from 2 images without info about the camera

送分小仙女□ 提交于 2019-11-27 09:19:32
问题 I'm new in this field and I'm trying to model a simple scene in 3d out of 2d images and I dont have any info about cameras. I know that there are 3 options: I have two images and I know the model of my camera (intrisics) that I loaded from a XML for instance loadXMLFromFile() => stereoRectify() => reprojectImageTo3D() I don't have them but I can calibrate my camera => stereoCalibrate() => stereoRectify() => reprojectImageTo3D() I can't calibrate the camera (it is my case, because I don't have

Plotting volumetric data in MATLAB

懵懂的女人 提交于 2019-11-26 13:29:06
I am working in Matlab and I have a 3d matrix with dimensions 384x512x160, which is made of 384x512 slices. How can I plot data like that? What you really have is Volumetric data . I guess that you have is a value of C for every X,Y,Z. And it actually depends a lot in what type of data you have. You'd need to give more information for an specific answer. In general have a look to Volumetric data visualization techniques, but there is not just one way of doing this. Following i will leave you some examples you may want to try. Slideomatic One option is to use the Sliceomatic from FE: Plotting

Plotting volumetric data in MATLAB

女生的网名这么多〃 提交于 2019-11-26 02:57:53
问题 I am working in Matlab and I have a 3d matrix with dimensions 384x512x160, which is made of 384x512 slices. How can I plot data like that? 回答1: What you really have is Volumetric data . I guess that you have is a value of C for every X,Y,Z. And it actually depends a lot in what type of data you have. You'd need to give more information for an specific answer. In general have a look to Volumetric data visualization techniques, but there is not just one way of doing this. Following i will leave