obj_diff — Calculate the difference of two object tuples.
obj_diff calculates the set-theoretic difference of
two object tuples:
(objects in Objects) - (objects in ObjectsSub)
The resulting object tuple
is defined as the input tuple
Objects with all objects from
For a short description of the iconic objects that are available in HALCON see the introduction of chapter Object.
Image matrices and XLDs are not compared regarding their contents. Thus, two images or XLDs, respectively, are “equal” if they are located at the same place in the storage. By contrast, regions that are not located at the same place in the storage are compared regarding their actual contents.
Object tuple 1.
Object tuple 2.
obj_diff always returns 2 (H_MSG_TRUE).