Calculate the edge of a transparent object

3 ビュー (過去 30 日間)
clara Lagomarsini
clara Lagomarsini 2014 年 3 月 22 日
コメント済み: Image Analyst 2014 年 12 月 20 日
Hi! I'm trying to calculate the profile of a lens. I took the picture of the profile and now i'm trying to find the edge of the lens with a matlab code. I tryed to use edge detection algorithm but the problem is that the shades on the lens make it difficult.
I attach the picture
Does anybody can help me? Thank you in advance :)
  4 件のコメント
Vijay
Vijay 2014 年 12 月 18 日
I am also facing same problem with transparent plastic part
Image Analyst
Image Analyst 2014 年 12 月 20 日
Start your own discussion, and attach your image, at least the best image you can capture.

サインインしてコメントする。

回答 (1 件)

Image Analyst
Image Analyst 2014 年 3 月 22 日
I'd say put more work into getting a better photo such as having a darker background, more "edge on" viewing angle, darker base that it's laying on, etc. Then it would be a lot easier and could be automated. For now, I'd suggest you use imfreehand() to hand-trace the lens. Let me know if you want a demo of imfreehand().

Community Treasure Hunt

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

Start Hunting!

Translated by