boofcv.alg.feature.orientation
Class OrientationIntegralBase<II extends ImageGray,G extends GradientValue>
- java.lang.Object
-
- boofcv.alg.feature.orientation.OrientationIntegralBase<II,G>
-
- All Implemented Interfaces:
- OrientationIntegral<II>, RegionOrientation
- Direct Known Subclasses:
- ImplOrientationAverageGradientIntegral, ImplOrientationImageAverageIntegral, ImplOrientationSlidingWindowIntegral
public abstract class OrientationIntegralBase<II extends ImageGray,G extends GradientValue> extends java.lang.Object implements OrientationIntegral<II>
Common base class for integral image region orientation algorithms.
-
-
Constructor Summary
Constructors Constructor and Description OrientationIntegralBase(double objectRadiusToScale, int sampleRadius, double period, int kernelWidth, double weightSigma, boolean assignDefaultRadius, java.lang.Class<II> integralType)Configure orientation estimation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.Class<II>getImageType()Returns the type of image it can process.voidsetImage(II integralImage)Specifies input image data for estimating orientation.voidsetObjectRadius(double radius)Specifies the circle's radius that the orientation should be-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface boofcv.abst.feature.orientation.RegionOrientation
compute
-
-
-
-
Constructor Detail
-
OrientationIntegralBase
public OrientationIntegralBase(double objectRadiusToScale, int sampleRadius, double period, int kernelWidth, double weightSigma, boolean assignDefaultRadius, java.lang.Class<II> integralType)Configure orientation estimation.- Parameters:
sampleRadius- The radius of samples that it will do. Typically 6.period- How often the image is sampled in pixels at canonical size. Internally, this value is scaled by scaledPeriod = period*objectRadius/sampleRadius. Typically 1.kernelWidth- How wide of a kernel should be used to sample. Try 4weightSigma- Sigma for weighting. Set to zero for unweighted, negative to use sampleRadius.assignDefaultRadius- If true it will set the object's radius to a scale of 1
-
-
Method Detail
-
setObjectRadius
public void setObjectRadius(double radius)
Description copied from interface:RegionOrientationSpecifies the circle's radius that the orientation should be- Specified by:
setObjectRadiusin interfaceRegionOrientation- Parameters:
radius- Object's radius.
-
setImage
public void setImage(II integralImage)
Description copied from interface:OrientationIntegralSpecifies input image data for estimating orientation.- Specified by:
setImagein interfaceOrientationIntegral<II extends ImageGray>- Parameters:
integralImage- Input image transformed into an integral image.
-
getImageType
public java.lang.Class<II> getImageType()
Description copied from interface:OrientationIntegralReturns the type of image it can process.- Specified by:
getImageTypein interfaceOrientationIntegral<II extends ImageGray>- Returns:
- Type of image which can be processed
-
-
DataMelt 3.0 © DataMelt by jWork.ORG