how can i improve my threshold in order to calculate the length and width of this THIN LINE using pixel

1 次查看(过去 30 天)
796.JPG
this is my original picture
  3 个评论
Image Analyst
Image Analyst 2018-12-14
Please annotate and upload a picture where you point, in red color, exactly to "my pixel THIN line" because I have no idea what you're talking about. Is there something there in that image that is expected to be just one pixel wide? I'm not seeing it, so please tell me where it is.

请先登录,再进行评论。

采纳的回答

Image Analyst
Image Analyst 2018-12-14
Try a bottom hat filter, imbothat().

更多回答(1 个)

SAADIAH RUSLI
SAADIAH RUSLI 2018-12-14
Sorry for the confiusion guys, the THIN LINE is the line inside the red box, i try measure the width at point A, B , C and D and the exact length of the line inside the red box. So far, i try, enhance contrast, multiple threshold and use pixel to calculate it manually, but the pixel connectivity is not good.
, original.jpg,
result of my threshold and segmentation.. if you zoom this pic, the pixel is what i have shown in previous comment
threshold.jpg
Thank you very much for your comment, I'm really appreciate this.

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

产品


版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by