Clear Filters
Clear Filters

Best possible technique to extract dimensions of a box from an image.

4 views (last 30 days)
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 Comments
Image Analyst
Image Analyst on 26 May 2015
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.

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 26 May 2015
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?
  1 Comment
Maheen
Maheen on 28 May 2015
I certainly don't intend to introduce one, I am trying apply any of the available techniques/methods. So I want to have an idea what would be the best starting point.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!