- java.lang.Object
-
- boofcv.abst.filter.FilterImageReflection<Input,Output>
-
- All Implemented Interfaces:
- FilterImageInterface<Input,Output>
public class FilterImageReflection<Input extends ImageGray,Output extends ImageGray> extends java.lang.Object implements FilterImageInterface<Input,Output>
Turns functions into implementations ofFilterImageInterfaceWraps around any function which has two images as input and output.
-
-
Constructor Summary
Constructors 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetHorizontalBorder()How many pixels are not processed along the horizontal border.ImageType<Input>getInputType()Specifies the input image typeImageType<Output>getOutputType()Specifies the output image typeintgetVerticalBorder()How many pixels are not processed along the vertical border.voidprocess(Input input, Output output)Processes the input image and writes the results to the output image.
-
-
-
Constructor Detail
-
FilterImageReflection
public FilterImageReflection(java.lang.Class owner, java.lang.String methodName, int borderX, int borderY, java.lang.Class<Input> inputType, java.lang.Class<Output> outputType)
-
-
Method Detail
-
process
public void process(Input input, Output output)
Description copied from interface:FilterImageInterfaceProcesses the input image and writes the results to the output image.
-
getHorizontalBorder
public int getHorizontalBorder()
Description copied from interface:FilterImageInterfaceHow many pixels are not processed along the horizontal border.- Specified by:
getHorizontalBorderin interfaceFilterImageInterface<Input extends ImageGray,Output extends ImageGray>- Returns:
- Border size in pixels.
-
getVerticalBorder
public int getVerticalBorder()
Description copied from interface:FilterImageInterfaceHow many pixels are not processed along the vertical border.- Specified by:
getVerticalBorderin interfaceFilterImageInterface<Input extends ImageGray,Output extends ImageGray>- Returns:
- Border size in pixels.
-
getInputType
public ImageType<Input> getInputType()
Description copied from interface:FilterImageInterfaceSpecifies the input image type- Specified by:
getInputTypein interfaceFilterImageInterface<Input extends ImageGray,Output extends ImageGray>- Returns:
- Input image type.
-
getOutputType
public ImageType<Output> getOutputType()
Description copied from interface:FilterImageInterfaceSpecifies the output image type- Specified by:
getOutputTypein interfaceFilterImageInterface<Input extends ImageGray,Output extends ImageGray>- Returns:
- Output image type.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG