boofcv.abst.feature.detect.intensity
Class WrapperGradientCornerIntensity<I extends ImageGray,D extends ImageGray>
- java.lang.Object
-
- boofcv.abst.feature.detect.intensity.BaseGeneralFeatureIntensity<I,D>
-
- boofcv.abst.feature.detect.intensity.WrapperGradientCornerIntensity<I,D>
-
- All Implemented Interfaces:
- GeneralFeatureIntensity<I,D>
public class WrapperGradientCornerIntensity<I extends ImageGray,D extends ImageGray> extends BaseGeneralFeatureIntensity<I,D>
Wrapper around children ofGradientCornerIntensity.
-
-
Constructor Summary
Constructors Constructor and Description WrapperGradientCornerIntensity(GradientCornerIntensity<D> alg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description QueueCornergetCandidatesMax()(Optional) Returns a list of candidate for local maximums.QueueCornergetCandidatesMin()(Optional) Returns a list of candidate for local minimums.intgetIgnoreBorder()Pixels within this distance from the image border are not processed.booleangetRequiresGradient()If the image gradient is required for calculations.booleangetRequiresHessian()Is the image's second derivative required?booleanhasCandidates()If true there is a list of candidate corners for minimums and/or maximums.booleanlocalMaximums()Indicates if local maximums are features or not.booleanlocalMinimums()Indicates if local minimums are features or not.voidprocess(I image, D derivX, D derivY, D derivXX, D derivYY, D derivXY)Computes the corner's intensity.-
Methods inherited from class boofcv.abst.feature.detect.intensity.BaseGeneralFeatureIntensity
getIntensity, init
-
-
-
-
Constructor Detail
-
WrapperGradientCornerIntensity
public WrapperGradientCornerIntensity(GradientCornerIntensity<D> alg)
-
-
Method Detail
-
process
public void process(I image, D derivX, D derivY, D derivXX, D derivYY, D derivXY)
Description copied from interface:GeneralFeatureIntensityComputes the corner's intensity. Before computing the various image derivatives callGeneralFeatureIntensity.getRequiresGradient()andGeneralFeatureIntensity.getRequiresHessian()to see if they are needed.- Parameters:
image- Original input imagederivX- First derivative x-axisderivY- First derivative x-axisderivXX- Second derivative x-axis x-axisderivYY- Second derivative x-axis y-axisderivXY- Second derivative x-axis y-axis
-
getCandidatesMin
public QueueCorner getCandidatesMin()
Description copied from interface:GeneralFeatureIntensity(Optional) Returns a list of candidate for local minimums.- Returns:
- List of potential features. If not supported then null is returned.
-
getCandidatesMax
public QueueCorner getCandidatesMax()
Description copied from interface:GeneralFeatureIntensity(Optional) Returns a list of candidate for local maximums.- Returns:
- List of potential features. If not supported then null is returned.
-
getRequiresGradient
public boolean getRequiresGradient()
Description copied from interface:GeneralFeatureIntensityIf the image gradient is required for calculations.- Returns:
- true if the image gradient is required.
-
getRequiresHessian
public boolean getRequiresHessian()
Description copied from interface:GeneralFeatureIntensityIs the image's second derivative required?- Returns:
- is the hessian required.
-
hasCandidates
public boolean hasCandidates()
Description copied from interface:GeneralFeatureIntensityIf true there is a list of candidate corners for minimums and/or maximums.
-
getIgnoreBorder
public int getIgnoreBorder()
Description copied from interface:GeneralFeatureIntensityPixels within this distance from the image border are not processed.- Returns:
- Size of unprocessed border around the image.
-
localMaximums
public boolean localMaximums()
Description copied from interface:GeneralFeatureIntensityIndicates if local maximums are features or not.- Returns:
- true for local maximum features.
-
localMinimums
public boolean localMinimums()
Description copied from interface:GeneralFeatureIntensityIndicates if local minimums are features or not.- Returns:
- true for local minimum features.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG