Package boofcv.abst.filter.convolve
Class PlanarConvolveDown<In extends ImageGray<In>,Out extends ImageGray<Out>>
java.lang.Object
boofcv.abst.filter.convolve.PlanarConvolveDown<In,Out>
- All Implemented Interfaces:
ConvolveDown<Planar<In>,Planar<Out>>
,ConvolveInterface<Planar<In>,Planar<Out>>
,FilterImageInterface<Planar<In>,Planar<Out>>
public class PlanarConvolveDown<In extends ImageGray<In>,Out extends ImageGray<Out>> extends Object implements ConvolveDown<Planar<In>,Planar<Out>>
Implementation of
ConvolveDown
for Planar
images. Uses an implementation for ImageGray
to apply the down convolution.-
Constructor Summary
Constructors Constructor Description PlanarConvolveDown(ConvolveDown<In,Out> down, int numBands)
-
Method Summary
Modifier and Type Method Description BorderType
getBorderType()
Returns how the image border is handled.int
getBorderX()
How many pixels are not processed along the x-axis border, left and right.int
getBorderY()
How many pixels are not processed along the y-axis border, top and bottom.ImageType<Planar<In>>
getInputType()
Specifies the input image typeImageType<Planar<Out>>
getOutputType()
Specifies the output image typeint
getSkip()
void
process(Planar<In> in, Planar<Out> out)
Processes the input image and writes the results to the output image.void
setSkip(int skip)
-
Constructor Details
-
PlanarConvolveDown
-
-
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<In extends ImageGray<In>,Out extends ImageGray<Out>>
- 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<In extends ImageGray<In>,Out extends ImageGray<Out>>
- Returns:
- Border size in pixels.
-
getInputType
Description copied from interface:FilterImageInterface
Specifies the input image type- Specified by:
getInputType
in interfaceFilterImageInterface<In extends ImageGray<In>,Out extends ImageGray<Out>>
- Returns:
- Input image type.
-
getOutputType
Description copied from interface:FilterImageInterface
Specifies the output image type- Specified by:
getOutputType
in interfaceFilterImageInterface<In extends ImageGray<In>,Out extends ImageGray<Out>>
- Returns:
- Output image type.
-
getBorderType
Description copied from interface:ConvolveInterface
Returns how the image border is handled.- Specified by:
getBorderType
in interfaceConvolveInterface<In extends ImageGray<In>,Out extends ImageGray<Out>>
-
getSkip
public int getSkip() -
setSkip
public void setSkip(int skip)
-