Package boofcv.abst.transform.census
Class FilterCensusTransform<In extends ImageGray<In>,Out extends ImageBase<Out>>
java.lang.Object
boofcv.abst.transform.census.FilterCensusTransform<In,Out>
- All Implemented Interfaces:
FilterImageInterface<In,
Out>
- Direct Known Subclasses:
FilterCensusTransformD33U8
,FilterCensusTransformD55S32
,FilterCensusTransformSampleIU16
,FilterCensusTransformSampleS64
public abstract class FilterCensusTransform<In extends ImageGray<In>,Out extends ImageBase<Out>>
extends Object
implements FilterImageInterface<In,Out>
Filter implementation of
CensusTransform
.-
Constructor Summary
ModifierConstructorDescriptionprotected
FilterCensusTransform
(int radius, @Nullable ImageBorder<In> border, Class<In> imageType, ImageType<Out> outType) -
Method Summary
Modifier and TypeMethodDescriptionprotected static int
computeRadius
(FastAccess<Point2D_I32> sample) return the maximum distance away a coordinate is sampledint
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 typeint
Radius of the local region sampled along x-axisint
Radius of the local region sampled along y-axisMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface boofcv.abst.filter.FilterImageInterface
process
-
Constructor Details
-
FilterCensusTransform
-
-
Method Details
-
computeRadius
return the maximum distance away a coordinate is sampled -
getRadiusX
public int getRadiusX()Radius of the local region sampled along x-axis -
getRadiusY
public int getRadiusY()Radius of the local region sampled along y-axis -
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 ImageBase<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 ImageBase<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 ImageBase<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 ImageBase<Out>> - Returns:
- Output image type.
-