| [mmcmp] [Up] [mmneg] | Relations |
| User Feedback |
| f1 | Image Gray-scale (uint8 or uint16) or binary image |
| oper | String
relationship from: '==', '~=', '<','<=', '>', '>=', 'binary', 'gray'. |
| f2 | Image Gray-scale (uint8 or uint16) or binary image
Default: |
| oper1 | String
Default: relationship from: '==', '~=', '<','<=', '>', '>='. |
| f3 | Image Gray-scale (uint8 or uint16) or binary image
Default: |
| y | Double
Bool value: 0 or 1 |
Verify if the property or relatioship between images is true or false. The result is true if the relationship is true for all the pixels in the image, and false otherwise. (Obs: This function replaces mmis equal, mmis lesseq, mmis binary).
fbin=mmbinary([0 1]);
Warning: converting image from double to int32
f1=uint8([1 2 3]);
f2=uint8([2 2 3]);
f3=uint8([2 3 4]);
mmis(fbin,'binary')
ans =
1
mmis(f1,'gray')
ans =
1
mmis(f1,'==',f2)
ans =
0
mmis(f1,'<',f3)
ans =
1
mmis(f1,'<=',f2)
ans =
1
mmis(f1,'<=',f2,'<=',f3)
ans =
1
| [mmcmp] [Up] [mmneg] | |
| User Feedback | |
| Copyright (c) 1998-2008 by SDC Information Systems |