| ca.forklabs.media.jai.opimage.AbstractCRIF ca.forklabs.media.jai.opimage.SpectralFilterCRIF
SpectralFilterCRIF | public class SpectralFilterCRIF extends AbstractCRIF (Code) | | Class
SpectralFilterCRIF is a
ContextualRenderedImageFactory supporting the
spectralfilter operation in the rendered and renderable image
layers.
author: Daniel Léonard version: $Revision: 1.1 $ |
Method Summary | |
public RenderedImage | create(ParameterBlock pb, RenderingHints hints) Enhance the image. | protected RenderedImage | filter(RenderedOp source, SpectralFilter2D filter, RenderingHints hints) Filters the Fourier image.
Parameters: source - the Fourier image. Parameters: filter - the filter. Parameters: hints - the rendering hints. | protected int | getDataType(ParameterBlock pb) Gets the type for the format operation.
Parameters: pb - the parameter block. | protected SpectralFilter2D | getFilter(ParameterBlock pb) Gets the spectral filter.
Parameters: pb - the parameter block. | protected RenderedImage | getRawFilter(SpectralFilter2D filter, int width, int height, int elements, RenderingHints hints) Builds the centered filter image.
Parameters: filter - the filter. Parameters: width - the desired width. Parameters: height - the desired height. Parameters: elements - the number of elements, half the number of bands. Parameters: hints - the rendering hints. | protected RenderedImage | shift(RenderedImage source, RenderingHints hints) Does a periodic shift of half the image size in both dimensions.
Parameters: source - the image to shift. Parameters: hints - the rendering hints. |
SpectralFilterCRIF | public SpectralFilterCRIF()(Code) | | Constructor.
|
create | public RenderedImage create(ParameterBlock pb, RenderingHints hints)(Code) | | Enhance the image.
Parameters: pb - the parameter block. Parameters: hints - optional rendering hints. |
filter | protected RenderedImage filter(RenderedOp source, SpectralFilter2D filter, RenderingHints hints)(Code) | | Filters the Fourier image.
Parameters: source - the Fourier image. Parameters: filter - the filter. Parameters: hints - the rendering hints. the spectral image filtered. |
getDataType | protected int getDataType(ParameterBlock pb)(Code) | | Gets the type for the format operation.
Parameters: pb - the parameter block. type for the format operation. |
getRawFilter | protected RenderedImage getRawFilter(SpectralFilter2D filter, int width, int height, int elements, RenderingHints hints)(Code) | | Builds the centered filter image.
Parameters: filter - the filter. Parameters: width - the desired width. Parameters: height - the desired height. Parameters: elements - the number of elements, half the number of bands. Parameters: hints - the rendering hints. the filter image. |
shift | protected RenderedImage shift(RenderedImage source, RenderingHints hints)(Code) | | Does a periodic shift of half the image size in both dimensions.
Parameters: source - the image to shift. Parameters: hints - the rendering hints. the shifted image. |
|
|