how do i get matlab to state "match" or "no match" with these values

5 visualizzazioni (ultimi 30 giorni)
i want to match these two images but cant as they have different property i have two images going through the same process and this is the chaincode, i now wish to calculate the differences between C and C1 and as a statement if have a value of zero for it to display "matching" but if they are not matching it says index matrix minus error and will terminate.
C =
x0y0: [1 1]
fcc: [1x3419 double]
diff: [1x3419 double]
mm: [1x3419 double]
diffmm: [1x3419 double]
>> C1 =fchcode(BW3, 8)
C1 =
x0y0: [1 1]
fcc: [1x3508 double]
diff: [1x3508 double]
mm: [1x3508 double]
diffmm: [1x3508 double]
and i want to calculate the differences between the two , i no if C.diff - C1.diff = 0 then the images are matched, but if it says index matrix minus error how can i make matlab make it say no match

Risposta accettata

Image Analyst
Image Analyst il 17 Apr 2013
I don't know what to say. They don't match because they don't match. If you want to make them match, maybe you can run interp1() on one of them to do an interpolation of some property to make it have the same length.

Più risposte (0)

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by