User Tools

Site Tools


jvs:fscan:manual:chapter2:mask

fScan Reference Manual, Chapter 2 (CmdLineOptions): mask

Mask -- Specify binary (byte) mask image for input

usage: -mask [maskname] [flag masklevel] [refname]

Specify a binary mask for the current data set based on its own intensity values, or based on values in a reference data set. If REFNAME is an image window, it will be used to generate a new IOMASK for the current active dataset. If REFNAME is not specified, the current active dataset will be used to set its own mask.

If MASKNAME is specified, the mask will be stored as a new byte image data set with that name. Pixel values are either 0 or 1.
Note: The new data set is independent of storing the mask within the current data set (see FLAG 4).

The FLAG argument is used to specify mask options:

  • FLAG:
    • 0 - Use threshold if active, else intensity (default)
    • 1 - Get mask from intensity (not compatible with 2 option)
    • 2 - Get mask from current threshold settings (not compatible with 1 option)
    • 4 - Store mask as low bit in data set (default is in invisible io→bactive bitmask)
    • 010 - get mask from data set REFNAME (assumed if REFNAME is specified)
    • 020 - store the mask as a new data set (assumed if MASKNAME is specified)
    • 040 - If creating MASKNAME data set, do not store as io→bactive mask as well)
    • 0100 - mask by image (not implemented)
    • 0200 - mask by slice “
    • 0400 - mask by volume ”
  • MASKLEVEL: Percent intensity to set as image mask (Default: 25%)

See Also:
fScan Home, fScan Manual, CmdLineOptions, Manual Help

jvs/fscan/manual/chapter2/mask.txt · Last modified: 2023/02/23 18:43 (external edit)