Package boofcv.abst.filter.convolve
Class PlanarConvolveDown<In extends boofcv.struct.image.ImageGray<In>,Out extends boofcv.struct.image.ImageGray<Out>>
- java.lang.Object
-
- boofcv.abst.filter.convolve.PlanarConvolveDown<In,Out>
-
- All Implemented Interfaces:
ConvolveDown<boofcv.struct.image.Planar<In>,boofcv.struct.image.Planar<Out>>,ConvolveInterface<boofcv.struct.image.Planar<In>,boofcv.struct.image.Planar<Out>>,FilterImageInterface<boofcv.struct.image.Planar<In>,boofcv.struct.image.Planar<Out>>
public class PlanarConvolveDown<In extends boofcv.struct.image.ImageGray<In>,Out extends boofcv.struct.image.ImageGray<Out>> extends java.lang.Object implements ConvolveDown<boofcv.struct.image.Planar<In>,boofcv.struct.image.Planar<Out>>
Implementation ofConvolveDownforPlanarimages. Uses an implementation forImageGrayto apply the down convolution.
-
-
Constructor Summary
Constructors Constructor Description PlanarConvolveDown(ConvolveDown<In,Out> down, int numBands)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boofcv.struct.border.BorderTypegetBorderType()Returns how the image border is handled.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<boofcv.struct.image.Planar<In>>getInputType()Specifies the input image typeboofcv.struct.image.ImageType<boofcv.struct.image.Planar<Out>>getOutputType()Specifies the output image typeintgetSkip()voidprocess(boofcv.struct.image.Planar<In> in, boofcv.struct.image.Planar<Out> out)Processes the input image and writes the results to the output image.voidsetSkip(int skip)
-
-
-
Constructor Detail
-
PlanarConvolveDown
public PlanarConvolveDown(ConvolveDown<In,Out> down, int numBands)
-
-
Method Detail
-
process
public void process(boofcv.struct.image.Planar<In> in, boofcv.struct.image.Planar<Out> out)
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<In extends boofcv.struct.image.ImageGray<In>,Out extends boofcv.struct.image.ImageGray<Out>>- 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<In extends boofcv.struct.image.ImageGray<In>,Out extends boofcv.struct.image.ImageGray<Out>>- Returns:
- Border size in pixels.
-
getInputType
public boofcv.struct.image.ImageType<boofcv.struct.image.Planar<In>> getInputType()
Description copied from interface:FilterImageInterfaceSpecifies the input image type- Specified by:
getInputTypein interfaceFilterImageInterface<In extends boofcv.struct.image.ImageGray<In>,Out extends boofcv.struct.image.ImageGray<Out>>- Returns:
- Input image type.
-
getOutputType
public boofcv.struct.image.ImageType<boofcv.struct.image.Planar<Out>> getOutputType()
Description copied from interface:FilterImageInterfaceSpecifies the output image type- Specified by:
getOutputTypein interfaceFilterImageInterface<In extends boofcv.struct.image.ImageGray<In>,Out extends boofcv.struct.image.ImageGray<Out>>- Returns:
- Output image type.
-
getBorderType
public boofcv.struct.border.BorderType getBorderType()
Description copied from interface:ConvolveInterfaceReturns how the image border is handled.- Specified by:
getBorderTypein interfaceConvolveInterface<In extends boofcv.struct.image.ImageGray<In>,Out extends boofcv.struct.image.ImageGray<Out>>
-
getSkip
public int getSkip()
-
-