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.
GUI Screenshot
cropspecial gui
Example GUI
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
Input image
Input image for cropspecial
Parameter Name:
FROM
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
Output image showing results on the default settings
Output image for cropspecial
Parameter Name:
TO
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.
Example 2
Crop all special pixels
Description
Cropping the cube with all special pixels selected.
In this example, cropspecial will extract a sub-area from a cube
surrounded in special pixels with all pixel types selected.
GUI Screenshot
cropspecial gui
Example GUI
Screenshot of GUI with parameters filled in to perform
a crop on all special pixels contained within the first band of the input cube.
Input Image
Input image
Input image for cropspecial
Parameter Name:
FROM
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
Output image showing results of the cropspecial application
Output image for cropspecial
Parameter Name:
TO
This is the 22x173 output image that results. Some HRS,
HIS, and NULL pixels are still present due to the rectangular
dimensions of the cube, but their occurence has been minimized.