public class CropDescriptor
extends javax.media.jai.OperationDescriptorImpl
Constructor and Description |
---|
CropDescriptor() |
Modifier and Type | Method and Description |
---|---|
static javax.media.jai.RenderedOp |
create(RenderedImage source0,
Float x,
Float y,
Float width,
Float height,
javax.media.jai.ROI roi,
Range noData,
double[] destNoData,
RenderingHints hints)
Performs cropping to a specified bounding box.
|
static void |
register()
Manually registers the operation in the registry in case it's not already there
|
arePropertiesSupported, getDefaultSourceClass, getDestClass, getDestClass, getInvalidRegion, getName, getNumParameters, getNumSources, getParamClasses, getParamDefaults, getParamDefaultValue, getParameterListDescriptor, getParamMaxValue, getParamMinValue, getParamNames, getPropertyGenerators, getPropertyGenerators, getRenderableDestClass, getRenderableSourceClasses, getResourceBundle, getResources, getSourceClasses, getSourceClasses, getSourceNames, getSupportedModes, isImmediate, isModeSupported, isRenderableSupported, isRenderedSupported, makeDefaultSourceClassList, validateArguments, validateArguments, validateParameters, validateParameters, validateRenderableArguments, validateRenderableSources, validateSources, validateSources
public static void register()
public static javax.media.jai.RenderedOp create(RenderedImage source0, Float x, Float y, Float width, Float height, javax.media.jai.ROI roi, Range noData, double[] destNoData, RenderingHints hints)
source
- RenderedImage
source 0.x
- The x origin of the cropping operation.y
- The y origin of the cropping operation.width
- The width of the cropping operation.height
- The height of the cropping operation.roi
- Eventual ROI object used for performing the crop operation.noData
- Eventual No Data Range object used for checking if the No Data are present.hints
- The RenderingHints
to use, may be nullCopyright © 2006–2015 GeoSolutions. All rights reserved.