Package boofcv.abst.filter
Class FilterSequence<Input extends ImageGray<Input>,Output extends ImageGray<Output>>
java.lang.Object
boofcv.abst.filter.FilterSequence<Input,Output>
- All Implemented Interfaces:
FilterImageInterface<Input,
Output>
public class FilterSequence<Input extends ImageGray<Input>,Output extends ImageGray<Output>>
extends Object
implements FilterImageInterface<Input,Output>
Applies a sequence of filters. After the first filter each filter will have the same input
and output image type.
-
Constructor Summary
ConstructorDescriptionFilterSequence
(FilterImageInterface<Input, Output> first, FilterImageInterface<Output, Output>... sequence) -
Method Summary
Modifier and TypeMethodDescriptionint
How many pixels are not processed along the x-axis border, left and right.int
How many pixels are not processed along the y-axis border, top and bottom.Specifies the input image typeSpecifies the output image typevoid
Processes the input image and writes the results to the output image.
-
Constructor Details
-
FilterSequence
public FilterSequence(FilterImageInterface<Input, Output> first, FilterImageInterface<Output, Output>... sequence)
-
-
Method Details
-
process
Description copied from interface:FilterImageInterface
Processes the input image and writes the results to the output image. -
getBorderX
public int getBorderX()Description copied from interface:FilterImageInterface
How many pixels are not processed along the x-axis border, left and right.- Specified by:
getBorderX
in interfaceFilterImageInterface<Input extends ImageGray<Input>,
Output extends ImageGray<Output>> - Returns:
- Border size in pixels.
-
getBorderY
public int getBorderY()Description copied from interface:FilterImageInterface
How many pixels are not processed along the y-axis border, top and bottom.- Specified by:
getBorderY
in interfaceFilterImageInterface<Input extends ImageGray<Input>,
Output extends ImageGray<Output>> - Returns:
- Border size in pixels.
-
getInputType
Description copied from interface:FilterImageInterface
Specifies the input image type- Specified by:
getInputType
in interfaceFilterImageInterface<Input extends ImageGray<Input>,
Output extends ImageGray<Output>> - Returns:
- Input image type.
-
getOutputType
Description copied from interface:FilterImageInterface
Specifies the output image type- Specified by:
getOutputType
in interfaceFilterImageInterface<Input extends ImageGray<Input>,
Output extends ImageGray<Output>> - Returns:
- Output image type.
-