public class DFTConvolveRIF extends Object implements RenderedImageFactory
Constructor and Description |
---|
DFTConvolveRIF() |
Modifier and Type | Method and Description |
---|---|
RenderedImage |
create(ParameterBlock paramBlock,
RenderingHints renderHints)
Create a new instance of ConvolveOpImage in the rendered layer.
|
static javax.media.jai.TiledImage |
createKernelImage(RenderedImage sourceImage,
int dataType,
javax.media.jai.KernelJAI kernel) |
static int |
getNextBase2Size(int n) |
static float[] |
normalizeKernelData(float[] kernelData) |
static RenderedImage |
toFloat(RenderedImage sourceImage,
double x1,
double x2,
double y1,
double y2,
RenderingHints hints) |
static RenderedImage |
toFloat(RenderedImage sourceImage,
RenderingHints hints) |
public RenderedImage create(ParameterBlock paramBlock, RenderingHints renderHints)
create
in interface RenderedImageFactory
paramBlock
- The source image and the convolution kernel.public static javax.media.jai.TiledImage createKernelImage(RenderedImage sourceImage, int dataType, javax.media.jai.KernelJAI kernel)
public static float[] normalizeKernelData(float[] kernelData)
public static RenderedImage toFloat(RenderedImage sourceImage, RenderingHints hints)
public static RenderedImage toFloat(RenderedImage sourceImage, double x1, double x2, double y1, double y2, RenderingHints hints)
public static int getNextBase2Size(int n)
Copyright © 2014–2022 European Space Agency (ESA). All rights reserved.