OpenCV Q&A Forum - RSS feedhttp://answers.opencv.org/questions/OpenCV answersenCopyright <a href="http://www.opencv.org">OpenCV foundation</a>, 2012-2018.Tue, 11 Aug 2020 04:11:16 -05003d construction from 2d planehttp://answers.opencv.org/question/233519/3d-construction-from-2d-plane/Hey all,
I need your advice on the work I'm doing now. I need to construct a 3d model based on the 2d plane. Over the plane, I have identified reasonable numbers of (x,y) coordinates of each corner the 2d plane has. Let say, if I have a fixed number for my z coordinate that makes all (x,y) coordinates have the same z coordinate, I'm looking for the ways to extrapolate this 2d plane into a 3d model.
My first approach is to first figure out how each (x,y) coordinates are connected to each other to represent the border of the 3d model. However, I'm not sure how to do it yet. After that, expand/extrapolate the z coordinate and connect all the coordinates to represent the 3d model.
Or is there a feature that allows me to build it instantly? The sample of my 2d plane with (x,y) coordinates can be seen in ![image description](/upfiles/15972221846933486.png)
I'm quite new with OpenCV and I write my code with python. So please forgive me if the question is trivial for some of you.
Thanks a lot for your advice.qbTue, 11 Aug 2020 04:11:16 -0500http://answers.opencv.org/question/233519/How can I use Hough Transforms to fit a Planehttp://answers.opencv.org/question/214641/how-can-i-use-hough-transforms-to-fit-a-plane/ I want to find the plane of best fit for a set of data. I think the Hough Transform will be the most fruitful approach. Overall, I want to be able to detect the slope of a hill seen in an image. I would like help finding any good documentation or examples of fitting a plane to a set of 3d data using c++ and open CV. Eventually I will implement RANSAC or some method to make sure the process is optimized, but any thoughts are appreciated.jfenzSun, 23 Jun 2019 03:51:44 -0500http://answers.opencv.org/question/214641/