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

5 Ansichten (letzte 30 Tage)
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

Akzeptierte Antwort

Image Analyst
Image Analyst am 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.

Weitere Antworten (0)

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by