Binary operations
Logical operations on one, two or more binary images. The output is a binary image.
Binary x Binary
And
2D
3D
Keep pixels present in both inputs
And Multi
2D
Keep pixels present in all inputs
Or
2D
3D
Keep pixels present in either input
Or Multi
2D
Keep pixels present in any input
Xor
2D
3D
Keep pixels present in exactly one input
Xor Multi
2D
Keep pixels present in and odd number of inputs
Subtract
2D
3D
Remove pixels of B from A
Equivalence
2D
3D
Keep pixels where A and B match (both present or both absent)
Having
2D
3D
Keep objects in A that overlap at least one object in B
Not Having
2D
3D
Keep objects in A that do not overlap any object in B
First Not Empty
2D
Use A if not empty, otherwise use B
Single Binary
Invert
2D
3D
Swap objects and background
Classification
Detection Classifier
2D
Advanced
Compare the ground truth and predicted binaries