/** * Constructs a parameter descriptor wrapping the specified JAI operation, including sources. * The {@linkplain #getName name for this parameter group} will be inferred from the {@linkplain * RegistryElementDescriptor#getName name of the supplied registry element} using the {@link * #properties properties} method. * * <p>The <cite>source type map</cite> default to a (<code>{@linkplain RenderedImage}.class * </code>, <code>{@linkplain GridCoverage}.class</code>) key-value pair and the <cite>registry * mode</cite> default to {@value javax.media.jai.registry.RenderedRegistryMode#MODE_NAME}. * * @param operation The JAI's operation descriptor, usually as an instance of {@link * OperationDescriptor}. */ public ImagingParameterDescriptors(final RegistryElementDescriptor operation) { this( properties(operation), operation, DEFAULT_SOURCE_TYPE_MAP, RenderedRegistryMode.MODE_NAME); }
/** * Constructs a parameter descriptor wrapping the specified JAI operation, including sources. * The {@linkplain #getName name for this parameter group} will be inferred from the {@linkplain * RegistryElementDescriptor#getName name of the supplied registry element} using the {@link * #properties properties} method. * * <p>The <cite>source type map</cite> default to a (<code>{@linkplain RenderedImage}.class * </code>, <code>{@linkplain GridCoverage}.class</code>) key-value pair and the <cite>registry * mode</cite> default to {@value javax.media.jai.registry.RenderedRegistryMode#MODE_NAME}. * * @param operation The JAI's operation descriptor, usually as an instance of {@link * OperationDescriptor}. * @param extension Additional parameters to put in this descriptor, or {@code null} if none. If * a parameter has the same name than an {@code operation} parameter, then the extension * overrides the later. * @since 2.4 */ public ImagingParameterDescriptors( final RegistryElementDescriptor operation, final Collection<ParameterDescriptor> extension) { this( properties(operation), operation, RenderedRegistryMode.MODE_NAME, DEFAULT_SOURCE_TYPE_MAP, extension); }
/** * 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 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 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 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)); } /**