/** * Constructs a grid coverage operation backed by a JAI operation. The operation descriptor must * supports the {@code "rendered"} mode (which is the case for most JAI operations). * * @param operation The JAI operation descriptor. */ public OperationJAI(final OperationDescriptor operation) { this(operation, new ImagingParameterDescriptors(operation)); }
/** * Constructor for {@link BaseMathOperationJAI}. * * @param operationDescriptor {@link OperationDescriptor} for the underlying JAI operation. * @param replacements {@link ImagingParameterDescriptors} that should replace the correspondent * {@link ImagingParameters} in order to change the default behavior they have inside JAI. */ public BaseMathOperationJAI( OperationDescriptor operationDescriptor, ImagingParameterDescriptors replacements) { super( operationDescriptor, new ImagingParameterDescriptors( ImagingParameterDescriptors.properties(operationDescriptor), operationDescriptor, RenderedRegistryMode.MODE_NAME, ImagingParameterDescriptors.DEFAULT_SOURCE_TYPE_MAP, REPLACED_DESCRIPTORS)); }
/** * Constructor for {@link BaseMathOperationJAI}. * * @param name of the underlying JAI operation. */ public BaseMathOperationJAI(String name) { super( getOperationDescriptor(name), new ImagingParameterDescriptors( getOperationDescriptor(name), new HashSet<ParameterDescriptor>(REPLACED_DESCRIPTORS))); }
/** * Constructor for {@link BaseStatisticsOperationJAI}. * * @param operationDescriptor {@link OperationDescriptor} for the underlying JAI operation. * @param replacements {@link ImagingParameterDescriptors} that should replace the correspondent * {@link ImagingParameters} in order to change the default behavior they have inside JAI. */ public BaseStatisticsOperationJAI( OperationDescriptor operationDescriptor, ImagingParameterDescriptors replacements) { super( operationDescriptor, new ImagingParameterDescriptors( ImagingParameterDescriptors.properties(operationDescriptor), operationDescriptor, RenderedRegistryMode.MODE_NAME, ImagingParameterDescriptors.DEFAULT_SOURCE_TYPE_MAP, REPLACED_DESCRIPTORS)); } /**
/** * Constructor for {@link BaseStatisticsOperationJAI}. * * @param name of the underlying JAI operation. */ public BaseStatisticsOperationJAI(String name) { super( getOperationDescriptor(name), new ImagingParameterDescriptors( getOperationDescriptor(name), new HashSet<ParameterDescriptor>(REPLACED_DESCRIPTORS))); }
/** * Constructor for {@link BaseStatisticsOperationJAI}. * * @param operationDescriptor {@link OperationDescriptor} for the underlying JAI operation. */ public BaseStatisticsOperationJAI(OperationDescriptor operationDescriptor) { super( operationDescriptor, new ImagingParameterDescriptors( getOperationDescriptor(operationDescriptor.getName()), REPLACED_DESCRIPTORS)); }
/** * Constructs a parameter group wrapping the specified JAI parameters. A default {@link * ImagingParameterDescriptors} is created. * * @param properties Set of properties. Should contains at least {@code "name"}. * @param parameters The JAI's parameters. */ public ImagingParameters(final Map<String, ?> properties, final ParameterList parameters) { super(new ImagingParameterDescriptors(properties, parameters.getParameterListDescriptor())); this.parameters = parameters; ensureNonNull("parameters", parameters); }
public BandMerge() { super( getOperationDescriptor("BandMerge"), new ImagingParameterDescriptors( getOperationDescriptor("BandMerge"), REPLACED_DESCRIPTORS)); }
/** * Constructor for {@link BaseMathOperationJAI}. * * @param operationDescriptor {@link OperationDescriptor} for the underlying JAI operation. */ public BaseMathOperationJAI(OperationDescriptor operationDescriptor) { super( operationDescriptor, new ImagingParameterDescriptors( getOperationDescriptor(operationDescriptor.getName()), REPLACED_DESCRIPTORS)); }
public Mosaic() { super( getOperationDescriptor("Mosaic"), new ImagingParameterDescriptors( getOperationDescriptor("Mosaic"), REPLACED_DESCRIPTORS)); }
/** * Constructs a grid coverage operation backed by a JAI operation. The operation descriptor * must supports the {@code "rendered"} mode (which is the case for most JAI operations). * * @param operation The JAI operation descriptor. */ public OperationJAI(final OperationDescriptor operation) { this(operation, new ImagingParameterDescriptors(operation)); }
/** * Constructs a grid coverage operation backed by a JAI operation. The operation descriptor * must supports the {@code "rendered"} mode (which is the case for most JAI operations). * * @param operation The JAI operation descriptor. */ public OperationJAI(final OperationDescriptor operation) { this(operation, new ImagingParameterDescriptors(operation)); }
/** * Constructor for {@link AbstractStatisticsOperationJAI}. * * @param operationDescriptor * {@link OperationDescriptor} for the underlying JAI operation. * @param replacements * {@link ImagingParameterDescriptors} that should replace the * correspondent {@link ImagingParameters} in order to change the * default behaviour they have inside JAI. */ public AbstractStatisticsOperationJAI( OperationDescriptor operationDescriptor, ImagingParameterDescriptors replacements) { super(operationDescriptor, new ImagingParameterDescriptors( ImagingParameterDescriptors.properties(operationDescriptor), operationDescriptor, RenderedRegistryMode.MODE_NAME, ImagingParameterDescriptors.DEFAULT_SOURCE_TYPE_MAP, REPLACED_DESCRIPTORS)); } /**
/** * Constructor for {@link AbstractStatisticsOperationJAI}. * * @param operationDescriptor * {@link OperationDescriptor} for the underlying JAI operation. * @param replacements * {@link ImagingParameterDescriptors} that should replace the * correspondent {@link ImagingParameters} in order to change the * default behavior they have inside JAI. */ public AbstractStatisticsOperationJAI( OperationDescriptor operationDescriptor, ImagingParameterDescriptors replacements) { super(operationDescriptor, new ImagingParameterDescriptors( ImagingParameterDescriptors.properties(operationDescriptor), operationDescriptor, RenderedRegistryMode.MODE_NAME, ImagingParameterDescriptors.DEFAULT_SOURCE_TYPE_MAP, REPLACED_DESCRIPTORS)); } /**
/** * Constructor for {@link AbstractStatisticsOperationJAI}. * @param name of the underlying JAI operation. */ public AbstractStatisticsOperationJAI(String name) { super(getOperationDescriptor(name),new ImagingParameterDescriptors( getOperationDescriptor(name), new HashSet<ParameterDescriptor>(REPLACED_DESCRIPTORS))); }
/** * Constructor for {@link AbstractStatisticsOperationJAI}. * @param name of the underlying JAI operation. */ public AbstractStatisticsOperationJAI(String name) { super(getOperationDescriptor(name),new ImagingParameterDescriptors( getOperationDescriptor(name), new HashSet(REPLACED_DESCRIPTORS))); }
/** * Constructor for {@link AbstractStatisticsOperationJAI}. * * @param operationDescriptor * {@link OperationDescriptor} for the underlying JAI operation. */ public AbstractStatisticsOperationJAI(OperationDescriptor operationDescriptor) { super(operationDescriptor, new ImagingParameterDescriptors( getOperationDescriptor(operationDescriptor.getName()), REPLACED_DESCRIPTORS)); }
replacingDescriptors.add(SPATIAL_SUBSAMPLING_X); final ImagingParameterDescriptors ripd = new ImagingParameterDescriptors(operation, replacingDescriptors);
/** * Constructor for {@link AbstractStatisticsOperationJAI}. * * @param operationDescriptor * {@link OperationDescriptor} for the underlying JAI operation. */ public AbstractStatisticsOperationJAI(OperationDescriptor operationDescriptor) { super(operationDescriptor, new ImagingParameterDescriptors( getOperationDescriptor(operationDescriptor.getName()), REPLACED_DESCRIPTORS)); }
descriptor = JAI.getDefaultInstance().getOperationRegistry().getDescriptor(mode, "AddConst"); parameters = new ImagingParameterDescriptors(descriptor); final GenericName alias = parameters.getAlias().iterator().next();