public class FilterImageReflection<Input extends ImageGray,Output extends ImageGray> extends java.lang.Object implements FilterImageInterface<Input,Output>
FilterImageInterface Wraps around any function which has two images as input and output.| Constructor and Description |
|---|
FilterImageReflection(java.lang.Class owner,
java.lang.String methodName,
int borderX,
int borderY,
java.lang.Class<Input> inputType,
java.lang.Class<Output> outputType) |
FilterImageReflection(java.lang.reflect.Method m,
int borderX,
int borderY,
java.lang.Class<Input> inputType,
java.lang.Class<Output> outputType) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHorizontalBorder()
How many pixels are not processed along the horizontal border.
|
ImageType<Input> |
getInputType()
Specifies the input image type
|
ImageType<Output> |
getOutputType()
Specifies the output image type
|
int |
getVerticalBorder()
How many pixels are not processed along the vertical border.
|
void |
process(Input input,
Output output)
Processes the input image and writes the results to the output image.
|
public FilterImageReflection(java.lang.Class owner,
java.lang.String methodName,
int borderX,
int borderY,
java.lang.Class<Input> inputType,
java.lang.Class<Output> outputType)
public void process(Input input, Output output)
FilterImageInterfacepublic int getHorizontalBorder()
FilterImageInterfacegetHorizontalBorder in interface FilterImageInterface<Input extends ImageGray,Output extends ImageGray>public int getVerticalBorder()
FilterImageInterfacegetVerticalBorder in interface FilterImageInterface<Input extends ImageGray,Output extends ImageGray>public ImageType<Input> getInputType()
FilterImageInterfacegetInputType in interface FilterImageInterface<Input extends ImageGray,Output extends ImageGray>public ImageType<Output> getOutputType()
FilterImageInterfacegetOutputType in interface FilterImageInterface<Input extends ImageGray,Output extends ImageGray>