trim -- Trim the limb. Zero all pixels off the limb in a full disk image
trim inputimage threshold
- Name of data image to trim.
- Squibby brightness value to use as a threshold in determining the limb.
Trim scans all the pixels in an image and sets those pixels to zero that contain a squibby brightness smaller than the threshold value. This is done in place, that is, the input image gets modified.
1. To trim a data image called data with a squibby brighness threshold of 4 (the standard value) the command would be:
vt> trim data 4