Clear Filters
Clear Filters

Determine dimensions from a picture

3 views (last 30 days)
Jonathan Myrsell
Jonathan Myrsell on 3 Mar 2020
Hello!
I want to know the procedure to determine a length and area for a wear scar by only using a picture and some information about the optical instrument e.g. zoom, resolution. The main criteria is to make it an automatic process where the user doesn't need to be involved so much, for example not choosing points on the image where the edges are. That will probably include some kind of machine learning alogrithm but if any guidance can be given for any step I will be more than thankful.
For example, some image processing need to be done obviously, but I'm new to this area so I'm not sure where to start. I believe some edge detection needs to be utilized and/or segmentation?
Any help would be much appreciable.

Answers (1)

Keerthana Chiruvolu
Keerthana Chiruvolu on 6 Mar 2020
Hi,
  1. Kindly use the regionprops() function to extract the required properties from the image.
  2. You may use the Image Segmenter App to segment the image and create a binary mask. This mask can be further used with bwboundaries() to obtain the boundaries of the region segmented.
  3. Edgedetection block, edge function might help with detecting the edges.
Refer the following links for further information:

Categories

Find more on Image Processing Toolbox 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!