reduce_mask

PURPOSE

reduce_mask scales down an image mask by a integral factor.  A pixel will be valid (i.e., unmasked) in the output mask if and only if all pixels in the correponding region of the input mask were valid.

TYPICAL USAGE

reduce_mask -input in.pbm -factor 2 -output out.pbm

COMMAND LINE OPTIONS

-factor int_reduction_factor

specifies the scaling factor by which the mask will be reduced.  This must be an integer.

-input input.pbm

specifies the input mask to be read in.

-output output.pbm

specifies the output mask that will be written.

 

 

Copyright © 2020 National Center for Multiscale Modeling of Biological Systems. All Rights Reserved.