Woolz Image Processing  Version 1.7.0
WlzInteriority - Computes interiority scores for object domains.
WlzInteriority [-a] [-h] -r<ref obj> [-o<out file>] [-v] [<test object>]
-a Read all objects before computing scores (default is read each object in turn).
-h Help - print help message
-o Output file name.
-r Reference object.
-v Verbose output; prefixes scores with index and filename.
The input objects are read from stdin (first the reference object then the test objects from the command line followed by test objects from the standard input) and scores are written to stdout unless filenames are given. Use - to indicate the standard input and output.
Computes interiority scores for test domain objects with respect to the reference object. The interiority is the mean distance that the (intersection of the reference and the) test object's domain is inside the reference object.
# Make a pair of rectangles and then compute the interiority of the
# smaller with respect to the larger:
WlzMakeRect -2 -x 0,99 -y 0,99 >ref.wlz
WlzMakeRect -2 -x 0,49 -y 0,49 >tst.wlz
WlzInteriority -r ref.wlz tst.wlz
See Also
WlzInteriority(3) WlzInteriorityN(3)