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
Modifier and TypeClassDescriptionstatic class
Search with a relaxes rule.static interface
Interface for local search algorithm around the candidatesstatic class
Search with a strict rule < -
Field Summary
Modifier and TypeFieldDescriptionprotected int
protected int
protected int
protected GrayF32
protected Point2D_I16
protected int
protected NonMaxCandidate.Search
protected float
protected float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
examineMaximum
(GrayF32 intensityImage, ListIntPoint2D candidates, DogArray<Point2D_I16> found) protected void
examineMinimum
(GrayF32 intensityImage, ListIntPoint2D candidates, DogArray<Point2D_I16> found) int
int
float
float
void
process
(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.void
setBorder
(int border) void
setSearchRadius
(int radius) void
setThresholdMax
(float thresholdMax) void
setThresholdMin
(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()
-