| [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
relationship from: '==', '~=', '<','<=', '>', '>='. Default: |
| 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])
f1=uint8([1, 2, 3])
f2=uint8([2, 2, 3])
f3=uint8([2, 3, 4])
mmis(fbin,'binary')
1.0
mmis(f1,'gray')
True
mmis(f1,'==',f2)
0.0
mmis(f1,'<',f3)
1.0
mmis(f1,'<=',f2)
1.0
mmis(f1,'<=',f2,'<=',f3)
1.0
| [mmcmp] [Up] [mmneg] | |
| User Feedback | |
| Copyright (c) 1998-2008 by SDC Information Systems |