Image Edge Detection Using Edge Function
Vous suivez désormais cette question
- Les mises à jour seront visibles dans votre flux de contenu suivi.
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails.
Une erreur s'est produite
Impossible de terminer l’action en raison de modifications de la page. Rechargez la page pour voir sa mise à jour.
0 votes
Partagez un lien vers cette question
Réponse acceptée
1 vote
Partagez un lien vers cette réponse
9 commentaires
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire

- You can see that using thresholding to get the white didn't really perform well because there are white pixels in the bar. This is most likely due to specular reflections of your lamp off the shiny parts of your bar. You can knock these out by using a polarizer in front of your lamp and another one in front of your camrea lens that you rotate until the reflections disappear.
- Also it would be good if you can use a jig so that the bar and "holder" are in the same location in the field of view. then you could use a fixed mask to erase everything known to never be part of the bar object of interest. Make the mask a little bit larger if the bar is bent or has a different size, but the fixed mask would go a long way in getting rid of the clutter around the white holder.
- Also see if you can use a uniform background of a different color. For example if you didn't have that reddish (wood?) background, that would help. It would also help TREMENDOUSLY if you could use a different color background. For example a bright red, green, or some other vivid color. In that case, we could just use rgb2hsv() and threshold on the saturation channel to find the background. It would be SO MUCH easier.
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
- use polarizers to get rid of the specular reflections, and
- take a picture of a blank gray sheet that fills the field of view so that you can divide the actual images by it to correct for lens shading (which you definitely have even if you don't realize it) and correct for illumination non-uniformity.
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire

Partagez un lien vers ce commentaire
Plus de réponses (1)
0 votes
Partagez un lien vers cette réponse
Catégories
En savoir plus sur Image Segmentation dans Centre d'aide et File Exchange
Produits
Tags
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.
Amériques
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
