- java.lang.Object
-
- boofcv.abst.filter.FilterSequence<Input,Output>
-
- All Implemented Interfaces:
- FilterImageInterface<Input,Output>
public class FilterSequence<Input extends ImageGray,Output extends ImageGray> extends java.lang.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
Constructors Constructor and Description FilterSequence(FilterImageInterface<Input,Output> first, FilterImageInterface<Output,Output>... sequence)
-
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
-
FilterSequence
public FilterSequence(FilterImageInterface<Input,Output> first, FilterImageInterface<Output,Output>... sequence)
-
-
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