Class NonMaxCandidate
java.lang.Object
boofcv.alg.feature.detect.extract.NonMaxCandidate
- Direct Known Subclasses:
NonMaxCandidate_MT
Performs a sparse search for local minimums/maximums by only examine around candidates.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSearch with a relaxes rule.static interfaceInterface for local search algorithm around the candidatesstatic classSearch with a strict rule < -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected intprotected GrayF32protected Point2D_I16protected intprotected NonMaxCandidate.Searchprotected floatprotected float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexamineMaximum(GrayF32 intensityImage, ListIntPoint2D candidates, DogArray<Point2D_I16> found) protected voidexamineMinimum(GrayF32 intensityImage, ListIntPoint2D candidates, DogArray<Point2D_I16> found) intintfloatfloatvoidprocess(GrayF32 intensityImage, @Nullable ListIntPoint2D candidatesMin, @Nullable ListIntPoint2D candidatesMax, @Nullable DogArray<Point2D_I16> foundMin, @Nullable DogArray<Point2D_I16> foundMax) Checks to see if the specified candidates are local minimums or maximums.voidsetBorder(int border) voidsetSearchRadius(int radius) voidsetThresholdMax(float thresholdMax) voidsetThresholdMin(float thresholdMin)
-
Field Details
-
radius
protected int radius -
thresholdMin
protected float thresholdMin -
thresholdMax
protected float thresholdMax -
ignoreBorder
protected int ignoreBorder -
input
-
search
-
endBorderX
protected int endBorderX -
endBorderY
protected int endBorderY -
pt
-
-
Constructor Details
-
NonMaxCandidate
-
-
Method Details
-
process
public void process(GrayF32 intensityImage, @Nullable @Nullable ListIntPoint2D candidatesMin, @Nullable @Nullable ListIntPoint2D candidatesMax, @Nullable @Nullable DogArray<Point2D_I16> foundMin, @Nullable @Nullable DogArray<Point2D_I16> foundMax) Checks to see if the specified candidates are local minimums or maximums. If a candidate list is null then that test is skipped. -
examineMinimum
protected void examineMinimum(GrayF32 intensityImage, ListIntPoint2D candidates, DogArray<Point2D_I16> found) -
examineMaximum
protected void examineMaximum(GrayF32 intensityImage, ListIntPoint2D candidates, DogArray<Point2D_I16> found) -
setSearchRadius
public void setSearchRadius(int radius) -
getSearchRadius
public int getSearchRadius() -
getThresholdMin
public float getThresholdMin() -
setThresholdMin
public void setThresholdMin(float thresholdMin) -
getThresholdMax
public float getThresholdMax() -
setThresholdMax
public void setThresholdMax(float thresholdMax) -
setBorder
public void setBorder(int border) -
getBorder
public int getBorder()
-