Package boofcv.abst.filter
Class FilterImageReflection<Input extends boofcv.struct.image.ImageGray<Input>,Output extends boofcv.struct.image.ImageGray<Output>>
- java.lang.Object
-
- boofcv.abst.filter.FilterImageReflection<Input,Output>
-
- All Implemented Interfaces:
FilterImageInterface<Input,Output>
public class FilterImageReflection<Input extends boofcv.struct.image.ImageGray<Input>,Output extends boofcv.struct.image.ImageGray<Output>> 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 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 Description intgetBorderX()How many pixels are not processed along the x-axis border, left and right.intgetBorderY()How many pixels are not processed along the y-axis border, top and bottom.boofcv.struct.image.ImageType<Input>getInputType()Specifies the input image typeboofcv.struct.image.ImageType<Output>getOutputType()Specifies the output image typevoidprocess(Input input, Output output)Processes the input image and writes the results to the output image.
-
-
-
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.
-
getBorderX
public int getBorderX()
Description copied from interface:FilterImageInterfaceHow many pixels are not processed along the x-axis border, left and right.- Specified by:
getBorderXin interfaceFilterImageInterface<Input extends boofcv.struct.image.ImageGray<Input>,Output extends boofcv.struct.image.ImageGray<Output>>- Returns:
- Border size in pixels.
-
getBorderY
public int getBorderY()
Description copied from interface:FilterImageInterfaceHow many pixels are not processed along the y-axis border, top and bottom.- Specified by:
getBorderYin interfaceFilterImageInterface<Input extends boofcv.struct.image.ImageGray<Input>,Output extends boofcv.struct.image.ImageGray<Output>>- Returns:
- Border size in pixels.
-
getInputType
public boofcv.struct.image.ImageType<Input> getInputType()
Description copied from interface:FilterImageInterfaceSpecifies the input image type- Specified by:
getInputTypein interfaceFilterImageInterface<Input extends boofcv.struct.image.ImageGray<Input>,Output extends boofcv.struct.image.ImageGray<Output>>- Returns:
- Input image type.
-
getOutputType
public boofcv.struct.image.ImageType<Output> getOutputType()
Description copied from interface:FilterImageInterfaceSpecifies the output image type- Specified by:
getOutputTypein interfaceFilterImageInterface<Input extends boofcv.struct.image.ImageGray<Input>,Output extends boofcv.struct.image.ImageGray<Output>>- Returns:
- Output image type.
-
-