Difference (mistake) between two images
Al momento, stai seguendo questa domanda
- Vedrai gli aggiornamenti nel tuofeed del contenuto seguito.
- Potresti ricevere delle e-mail a seconda delle tuepreferenze per le comunicazioni.
Si è verificato un errore
Impossibile completare l'azione a causa delle modifiche apportate alla pagina. Ricarica la pagina per vedere lo stato aggiornato.
0 voti
Condividi un link a questa domanda






Risposta accettata
1 voto
Condividi un link a questa risposta



20 Commenti
Condividi un link a questo commento






Condividi un link a questo commento
Condividi un link a questo commento
Condividi un link a questo commento
Condividi un link a questo commento

Condividi un link a questo commento
Condividi un link a questo commento





Condividi un link a questo commento
Condividi un link a questo commento

Condividi un link a questo commento
Condividi un link a questo commento
Condividi un link a questo commento
Condividi un link a questo commento
Condividi un link a questo commento

Condividi un link a questo commento
Condividi un link a questo commento


Condividi un link a questo commento
Condividi un link a questo commento


Condividi un link a questo commento

Condividi un link a questo commento
Più risposte (1)
1 voto
Condividi un link a questa risposta
- 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.
Categorie
Scopri di più su Geometric Transformation and Image Registration in Centro assistenza e File Exchange
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- 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)
