Need to find perspective lines from reference image
3 次查看(过去 30 天)
显示 更早的评论
Hello, I need to find vanishing lines or perspective lines from 2D images(Reference images). I tried many approaches like Line Segment Detector(LSD), RANSAC, HoughTransform, OpenCV, and some libraries. Still, they work well on Urban scenes and lane detection. But in my case, I have objects like almirahs, sofas, and showcases that detect wrong perspective lines and vanishing points. Below are the reference images I have -:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1287415/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1287420/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1287425/image.jpeg)
And below is the output I am receiving-:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1287430/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1287435/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1287440/image.png)
And in the above images gives me the wrong results. Can someone guide me or share some resources? Is there any accurate method for finding the perspective lines and vanishing points? Thanks for your time.
0 个评论
回答(1 个)
Sarthak
2023-3-24
Hi Gundeep,
As per my understanding, if existing approaches like LSD, RANSAC, etc are not working well for your images, you may need to fine-tune your parameters.
However, if you need accurate results you may need to consider using more advanced techniques like CNN to handle your specific cases.
Here are some resources for your reference.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!