meta data for this page
Modifications – Crop
Although shown here separately, “window” and “bands” arguments can be specified at the same time.
The “Crop” module reads an image on it input, and outputs only a portion of it. Above, a rectangular window is specified. Only the pixels within that window will be passed through “Crop”. The window consists of four numbers, the x and y locations of the upper left corner, followed by the width and height.
“Crop” can also extract a portion of the input bands. The parameter, “3:12” indicates that 10 bands should be output, starting with band 3 and ending with band 12. More information about specifying bands can be seen on page 23 on the ReadImage arguments.