public class WrapperNonMaximumNaive extends java.lang.Object implements NonMaxSuppression
NonMaxExtractorNaive class.| Constructor and Description |
|---|
WrapperNonMaximumNaive(NonMaxExtractorNaive alg) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDetectMaximums()
True if it can detect local maximums.
|
boolean |
canDetectMinimums()
True if it can detect local minimums.
|
int |
getIgnoreBorder()
Returns the size of the image border.
|
int |
getSearchRadius()
Describes how large the region is that is being searched.
|
float |
getThresholdMaximum()
Minimum value for detected maximums
|
float |
getThresholdMinimum()
Maximum value for detected minimums
|
boolean |
getUsesCandidates()
Returns true if the algorithm requires a candidate list of corners.
|
void |
process(boofcv.struct.image.GrayF32 intensity,
boofcv.struct.QueueCorner candidateMin,
boofcv.struct.QueueCorner candidateMax,
boofcv.struct.QueueCorner foundMin,
boofcv.struct.QueueCorner foundMax)
Process a feature intensity image to extract the point features.
|
void |
setIgnoreBorder(int border)
Defines the region inside the image in which a pixel can be an extreme.
|
void |
setSearchRadius(int radius)
Species the search radius for the feature
|
void |
setThresholdMaximum(float threshold)
Change the feature selection threshold for finding local maximums.
|
void |
setThresholdMinimum(float threshold)
Change the feature selection threshold for finding local minimums.
|
public WrapperNonMaximumNaive(NonMaxExtractorNaive alg)
public int getIgnoreBorder()
NonMaxSuppressiongetIgnoreBorder in interface NonMaxSuppressionpublic void setIgnoreBorder(int border)
NonMaxSuppressionsetIgnoreBorder in interface NonMaxSuppressionborder - Border size in pixels.public void process(boofcv.struct.image.GrayF32 intensity,
boofcv.struct.QueueCorner candidateMin,
boofcv.struct.QueueCorner candidateMax,
boofcv.struct.QueueCorner foundMin,
boofcv.struct.QueueCorner foundMax)
NonMaxSuppressionprocess in interface NonMaxSuppressionintensity - (Input) Feature intensity image. Not modified.candidateMin - (Input) (Optional) List of candidate local minimum features. Can be null if not used.candidateMax - (Input) (Optional) List of candidate local maximum features Can be null if not used.foundMin - (Output) Storage for found minimums. Can be null if not used.foundMax - (Output) Storage for found maximums. Can be null if not used.public boolean getUsesCandidates()
NonMaxSuppressiongetUsesCandidates in interface NonMaxSuppressionpublic float getThresholdMinimum()
NonMaxSuppressiongetThresholdMinimum in interface NonMaxSuppressionpublic float getThresholdMaximum()
NonMaxSuppressiongetThresholdMaximum in interface NonMaxSuppressionpublic void setThresholdMinimum(float threshold)
NonMaxSuppressionsetThresholdMinimum in interface NonMaxSuppressionthreshold - The new selection threshold.public void setThresholdMaximum(float threshold)
NonMaxSuppressionsetThresholdMaximum in interface NonMaxSuppressionthreshold - The new selection threshold.public void setSearchRadius(int radius)
NonMaxSuppressionsetSearchRadius in interface NonMaxSuppressionradius - Radius in pixelspublic int getSearchRadius()
NonMaxSuppressiongetSearchRadius in interface NonMaxSuppressionpublic boolean canDetectMaximums()
NonMaxSuppressioncanDetectMaximums in interface NonMaxSuppressionpublic boolean canDetectMinimums()
NonMaxSuppressioncanDetectMinimums in interface NonMaxSuppression