フィルターのクリア

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

5 ビュー (過去 30 日間)
Kbhatti86
Kbhatti86 2013 年 4 月 17 日
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

採用された回答

Image Analyst
Image Analyst 2013 年 4 月 17 日
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.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by