Determine dimensions from a picture

1 回表示 (過去 30 日間)
Jonathan Myrsell
Jonathan Myrsell 2020 年 3 月 3 日
回答済み: Keerthana Chiruvolu 2020 年 3 月 6 日
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.

回答 (1 件)

Keerthana Chiruvolu
Keerthana Chiruvolu 2020 年 3 月 6 日
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:

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by