boofcv.abst.feature.detect.intensity
Interface GeneralFeatureIntensity<I extends ImageGray,D extends ImageGray>
-
- Type Parameters:
I- Input image type.D- Image derivative type.
- All Known Implementing Classes:
- BaseGeneralFeatureIntensity, WrapperFastCornerIntensity, WrapperGradientCornerIntensity, WrapperHessianBlobIntensity, WrapperKitRosCornerIntensity, WrapperLaplacianBlobIntensity, WrapperMedianCornerIntensity
public interface GeneralFeatureIntensity<I extends ImageGray,D extends ImageGray>Extracts corners from a the image and or its gradient. This is a generalized interface and lacks some of the functionality of more specialized classes.- See Also:
FeatureIntensity,NonMaxSuppression
-
-
Method Summary
All Methods Instance Methods Abstract 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.GrayF32getIntensity()Returns an image containing an intensity mapping showing how corner like each pixel is.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.
-
-
-
Method Detail
-
process
void process(I image, D derivX, D derivY, D derivXX, D derivYY, D derivXY)
Computes the corner's intensity. Before computing the various image derivatives callgetRequiresGradient()andgetRequiresHessian()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
-
getIntensity
GrayF32 getIntensity()
Returns an image containing an intensity mapping showing how corner like each pixel is. Unprocessed image borders will have a value of zero.- Returns:
- Corner intensity image.
-
getCandidatesMin
QueueCorner getCandidatesMin()
(Optional) Returns a list of candidate for local minimums.- Returns:
- List of potential features. If not supported then null is returned.
-
getCandidatesMax
QueueCorner getCandidatesMax()
(Optional) Returns a list of candidate for local maximums.- Returns:
- List of potential features. If not supported then null is returned.
-
getRequiresGradient
boolean getRequiresGradient()
If the image gradient is required for calculations.- Returns:
- true if the image gradient is required.
-
getRequiresHessian
boolean getRequiresHessian()
Is the image's second derivative required?- Returns:
- is the hessian required.
-
hasCandidates
boolean hasCandidates()
If true there is a list of candidate corners for minimums and/or maximums.
-
getIgnoreBorder
int getIgnoreBorder()
Pixels within this distance from the image border are not processed.- Returns:
- Size of unprocessed border around the image.
-
localMinimums
boolean localMinimums()
Indicates if local minimums are features or not.- Returns:
- true for local minimum features.
-
localMaximums
boolean localMaximums()
Indicates if local maximums are features or not.- Returns:
- true for local maximum features.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG