VXROI

VisionX V4
NAME

vxroi − output a mask excluding the input ROI on each axial slice.

SYNOPSIS

vxroi if= of= [-xl] [-xh] [-yh] [-yl] [-c]

DESCRIPTION

vxroi outputs a mask excluding the input ROI (non-zero regions) on each axial slice. Options are available to specify the location of the output region w.r.t. the input ROI. If -xl, -xh, -yl, or -yh is specified, regions located left, right, posteriorly, or anteriorly respectively to the input ROI will be set as 255 in the output mask. Note that more than one option can be used at the same time.

If an input slice has only zero pixels and -c is specified, the nearest nonempty slice superior to current slice will be used as ROI to compute the output mask on current slice.

OPTIONS

if=

Byte input image where the non-zero regions are considered as ROI.

-xl

left to the input ROI on each axial slice

-xh

right to the input ROI on each axial slice

-yh

anterior to the input ROI on each axial slice

-yl

posterior to the input ROI on each axial slice

of=

outputs a mask at locations specified by the input flags.

-c

if the current slice is empty, use the nearest nonempty slice superior to the current.

CONSTRAINTS

Only accept byte input image.

SEE ALSO

vlngwind(1)

AUTHOR

Shuang Liu, June 2015