thresholdImage.Rd
converts a scalar image into a binary image by thresholding operations
thresholdImage(inimg, lothresh, hithresh, inval=1, outval=0)
inimg | Input image to operate on |
---|---|
lothresh | Lower edge of threshold window |
hithresh | Higher edge of threshold window |
inval | Output value for image voxels in between |
outval | Output value for image voxels lower than |
antsImage