Determine dimensions from a picture

2 vues (au cours des 30 derniers jours)
Jonathan Myrsell
Jonathan Myrsell le 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.

Réponses (1)

Keerthana Chiruvolu
Keerthana Chiruvolu le 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:

Catégories

En savoir plus sur Image Segmentation and Analysis dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by