Woolz Image Processing  Version 1.7.5
Name
WlzInteriority - Computes interiority scores for object domains.
Synopsis
WlzInteriority [-a] [-h] -r<ref obj> [-o<out file>] [-v] [<test object>]
Options
-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.
Description
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.
Examples
# 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
18.938
File
WlzInteriority.c
See Also
WlzInteriority(3) WlzInteriorityN(3)