- Type Parameters:
I
- Input image type.D
- Image derivative type.
- All Known Implementing Classes:
BaseGeneralFeatureIntensity
,WrapperFastCornerIntensity
,WrapperGradientCornerIntensity
,WrapperHessianDerivBlobIntensity
,WrapperHessianThreeImageDetIntensity
,WrapperKitRosCornerIntensity
,WrapperLaplacianBlobIntensity
,WrapperMedianCornerIntensity
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:
-
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.Derivative image type.int
Pixels within this distance from the image border are not processed.Input image type.Returns an image containing an intensity mapping showing how corner like each pixel is.boolean
If the image gradient is required for calculations.boolean
Is the image's second derivative required?boolean
If true there is a list of candidate corners for minimums and/or maximums.boolean
Indicates if local maximums are features or not.boolean
Indicates if local minimums are features or not.void
Computes the corner's intensity.
-
Method Details
-
process
void process(I image, @Nullable D derivX, @Nullable D derivY, @Nullable D derivXX, @Nullable D derivYY, @Nullable 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
(Optional) Returns a list of candidate for local minimums.- Returns:
- List of potential features. If not supported then null is returned.
-
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.
-
getImageType
Input image type. Null if the input image isn't required. -
getDerivType
Derivative image type. Null if the derivative image isn't required.
-