java.lang.Object
boofcv.abst.feature.detect.intensity.BaseGeneralFeatureIntensity<I,D>
boofcv.abst.feature.detect.intensity.WrapperHessianDerivBlobIntensity<I,D>
- All Implemented Interfaces:
GeneralFeatureIntensity<I,D>
public class WrapperHessianDerivBlobIntensity<I extends ImageGray<I>,D extends ImageGray<D>>
extends BaseGeneralFeatureIntensity<I,D>
Wrapper around
HessianBlobIntensity for GeneralFeatureIntensity.-
Constructor Summary
ConstructorsConstructorDescriptionWrapperHessianDerivBlobIntensity(HessianBlobIntensity.Type type, Class<D> derivType) -
Method Summary
Modifier and TypeMethodDescription@Nullable ListIntPoint2D(Optional) Returns a list of candidate for local maximums.@Nullable ListIntPoint2D(Optional) Returns a list of candidate for local minimums.intNo ignore border unless the derivative has an ignore borderbooleanIf the image gradient is required for calculations.booleanIs the image's second derivative required?booleanIf true there is a list of candidate corners for minimums and/or maximums.booleanIndicates if local maximums are features or not.booleanIndicates if local minimums are features or not.voidComputes the corner's intensity.Methods inherited from class boofcv.abst.feature.detect.intensity.BaseGeneralFeatureIntensity
getDerivType, getImageType, getIntensity, init
-
Constructor Details
-
WrapperHessianDerivBlobIntensity
-
-
Method Details
-
process
public void process(I image, @Nullable D derivX, @Nullable D derivY, @Nullable D derivXX, @Nullable D derivYY, @Nullable 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
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
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()No ignore border unless the derivative has an ignore border- Returns:
- Size of unprocessed border around the image.
-
localMinimums
public boolean localMinimums()Description copied from interface:GeneralFeatureIntensityIndicates if local minimums are features or not.- Returns:
- true for local minimum features.
-
localMaximums
public boolean localMaximums()Description copied from interface:GeneralFeatureIntensityIndicates if local maximums are features or not.- Returns:
- true for local maximum features.
-