Class NonMaxBlock
- java.lang.Object
-
- boofcv.alg.feature.detect.extract.NonMaxBlock
-
- Direct Known Subclasses:
- NonMaxBlockRelaxed, NonMaxBlockStrict
public abstract class NonMaxBlock extends java.lang.ObjectNon-maximum extractor based on the block algorithm in [1]. The worst case complexity per pixel is 4 - 4/(n+1) where n is the region size. The algorithm works by breaking up the image into a set of evenly spaced blocks with their sides touching. The local maximum is found inside a block and then the region around that maximum is examined to see if it is truly a local max.
Each block check is independent of all the others and no information is exchanged. This algorithm could be paralyzed easily and has no memory overhead.
See
NonMaxSuppressionfor a definition of parameters not described in this document[1] Neubeck, A. and Van Gool, L. "Efficient non-maximum suppression" ICPR 2006
-
-
Field Summary
Fields Modifier and Type Field and Description booleandetectsMaximumbooleandetectsMinimum
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetBorder()intgetSearchRadius()floatgetThresholdMax()floatgetThresholdMin()voidprocess(GrayF32 intensityImage, QueueCorner localMin, QueueCorner localMax)Detects local minimums and/or maximums in the provided intensity image.voidsetBorder(int border)voidsetSearchRadius(int radius)voidsetThresholdMax(float thresholdMax)voidsetThresholdMin(float thresholdMin)
-
-
-
Field Detail
-
detectsMinimum
public boolean detectsMinimum
-
detectsMaximum
public boolean detectsMaximum
-
-
Method Detail
-
process
public void process(GrayF32 intensityImage, QueueCorner localMin, QueueCorner localMax)
Detects local minimums and/or maximums in the provided intensity image.- Parameters:
intensityImage- (Input) Feature intensity image.localMin- (Output) storage for found local minimums.localMax- (Output) storage for found local maximums.
-
setSearchRadius
public void setSearchRadius(int radius)
-
getBorder
public int getBorder()
-
setBorder
public void setBorder(int border)
-
getSearchRadius
public int getSearchRadius()
-
getThresholdMin
public float getThresholdMin()
-
setThresholdMin
public void setThresholdMin(float thresholdMin)
-
getThresholdMax
public float getThresholdMax()
-
setThresholdMax
public void setThresholdMax(float thresholdMax)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG