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
ConstructorsModifierConstructorDescriptionprotectedFilterCensusTransform(int radius, @Nullable ImageBorder<In> border, Class<In> imageType, ImageType<Out> outType) -
Method Summary
Modifier and TypeMethodDescriptionprotected static intcomputeRadius(FastAccess<Point2D_I32> sample) return the maximum distance away a coordinate is sampledintHow many pixels are not processed along the x-axis border, left and right.intHow many pixels are not processed along the y-axis border, top and bottom.Specifies the input image typeSpecifies the output image typeintRadius of the local region sampled along x-axisintRadius of the local region sampled along y-axisMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:FilterImageInterfaceHow many pixels are not processed along the x-axis border, left and right.- Specified by:
getBorderXin interfaceFilterImageInterface<In extends ImageGray<In>,Out extends ImageBase<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 ImageGray<In>,Out extends ImageBase<Out>> - Returns:
- Border size in pixels.
-
getInputType
Description copied from interface:FilterImageInterfaceSpecifies the input image type- Specified by:
getInputTypein interfaceFilterImageInterface<In extends ImageGray<In>,Out extends ImageBase<Out>> - Returns:
- Input image type.
-
getOutputType
Description copied from interface:FilterImageInterfaceSpecifies the output image type- Specified by:
getOutputTypein interfaceFilterImageInterface<In extends ImageGray<In>,Out extends ImageBase<Out>> - Returns:
- Output image type.
-