Calculate the edge of a transparent object

3 vues (au cours des 30 derniers jours)
clara Lagomarsini
clara Lagomarsini le 22 Mar 2014
Commenté : Image Analyst le 20 Déc 2014
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 commentaires
Vijay
Vijay le 18 Déc 2014
I am also facing same problem with transparent plastic part
Image Analyst
Image Analyst le 20 Déc 2014
Start your own discussion, and attach your image, at least the best image you can capture.

Connectez-vous pour commenter.

Réponses (1)

Image Analyst
Image Analyst le 22 Mar 2014
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