Difference (mistake) between two images
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



20 commentaires
Partagez un lien vers ce commentaire






Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire

Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire





Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire

Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire

Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire


Partagez un lien vers ce commentaire
Partagez un lien vers ce commentaire


Partagez un lien vers ce commentaire

Partagez un lien vers ce commentaire
Plus de réponses (1)
1 vote
Partagez un lien vers cette réponse
- Threshold to find the large two black rectangles on the right side of the jig.
- use regionprops to get the two centroids, then find the angle between them
- use imrotate to make them level.
- then find the spots again and use imtranslate to put the upper right dark rectangle at some known location. Do that for both images.
- Then use imabsdiff to subtract the two images.
- Threshold to find the difference.
- Call imclearborder to get rid of any differences touching the edge of the image.
- Call imfill to fill any holes.
- Call bwareafilt to get only blobs in a certain known area range.
- Call bwlabel or regionprops to count and locate the missing or extra white blob.
Catégories
En savoir plus sur Work with Components dans Centre d'aide et File Exchange
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)
