can anyone provide a code for converting 2d point into 3d cordinate system
Show older comments
i want to map the 2d point into 3d cordinate usinf direct linear transformation algo(DLT) or using homography I am not sure how to do or which method shd i do I want the code with brief xplanation for eg i have (x1,y1),(x2,y2)...x and y denote cordinate and with ref to d same point i want in object space i.e (x,y,z) coordinate
6 Comments
praveen rai
on 13 Sep 2017
Rik
on 14 Sep 2017
You may have noticed you aren't getting the answer you're looking for. In this case the reason is that your question isn't clear. The best way of making sure your meaning is clear, is to use complete words and interpunction, which you haven't done so far.
Do you mean you have a photograph of some scene and you want to detect the objects in that image and find out the real world position of those objects (and thus the 3D location that was projected to your 2D pixel).
If this is what you mean, you should at the very least provide the image you are working on, because that is a very difficult problem, which may not be possible with your data. I have little experience with computer vision, but usually it uses two cameras side by side or a single camera whose movements are known.
Image Analyst
on 14 Sep 2017
Looks like he accepted John's answer so I guess we're done here and he got what he needed.
praveen rai
on 15 Sep 2017
Rik
on 15 Sep 2017
You just got upgraded from unintelligible to a case of doit4me. Read those links I gave you and then follow my suggestion from the second comment:
"You should at the very least provide the image you are working on, because that is a very difficult problem, which may not be possible with your data. I have little experience with computer vision, but usually it uses two cameras side by side or a single camera whose movements are known."
I don't know much about computer vision, but if I were you I would start Googling examples until you have something that is close to working. As you know the name from a specific algorithm, I suspect you are in some educational program or course. If that's the case, ask your teacher/instructor for help. It seems you need more than what you can reasonably expect to get here.
Accepted Answer
More Answers (1)
Image Analyst
on 13 Sep 2017
0 votes
I don't exactly know what you want, but perhaps you're thinking of colorcloud().
Categories
Find more on Display Point Clouds in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!