This program automatically crops as many of the special pixels in a cube as
possible, without removing any valid data. The user can specify which of
the five special pixel types the program should attempt to crop and which
should be retained in the output cube. Labels are duplicated from the input
to the output cube.
In this example, cropspecial will extract a sub-area from a cube
surrounded in special pixels with only the NULL pixel type selected.
Screenshot of GUI with the default parameter settings,
ready to perform a crop on the NULL pixels contained within the first band of
the input cube.
Input image for cropspecial
The original, 82x361 image. NULL, HRS, LRS, HIS, and
LIS pixels are shown in blue, light green, yellow, pink, and
light blue, respectively. NULL SPACE is shown here in black.
Output image showing results on the default settings
Output image for cropspecial
This is the 82x315 output image that results. The NULL
pixels at the bottom have been removed, but the NULL pixels
surrounded by saturation pixels have not been removed as doing
so would result in the loss of pixels not selected for cropping.
Crop all special pixels
Cropping the cube with all special pixels selected.