Best possible technique to extract dimensions of a box from an image.
5 次查看(过去 30 天)
显示 更早的评论
Hi, I am working on a project in which I have extract out dimensions(length, width and height) of a box from its picture. For that I applied edge detection filter (sobel filter using edge command), But it gives too much disconnected lines at the edges. I apply imdilate to remove those discontinuities but with that I am afraid it wont give the correct dimensions. So I needed guidance what would be a good starting point i.e which process would result in better extraction of dimensions. Thanks you.
3 个评论
Image Analyst
2015-5-26
You forgot to attach your image. Everyone, for some reason, thinks that edge detection is always the first step in image segmentation, when often/mostly it's not. Perhaps simple thresholding will work fine, but I don't know because I haven't seen your image.
回答(1 个)
Walter Roberson
2015-5-26
The best possible technique starts with creating customized universes, and evolves from there. Are you certain that you have the resources to implement the best possible technique?
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!