Interface NonMaxBlock.Search
- All Known Implementing Classes:
NonMaxBlockSearchRelaxed
,NonMaxBlockSearchRelaxed.Max
,NonMaxBlockSearchRelaxed.Min
,NonMaxBlockSearchRelaxed.MinMax
,NonMaxBlockSearchStrict
,NonMaxBlockSearchStrict.Max
,NonMaxBlockSearchStrict.Min
,NonMaxBlockSearchStrict.MinMax
- Enclosing class:
- NonMaxBlock
public static interface NonMaxBlock.Search
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(boofcv.alg.feature.detect.extract.NonMaxBlock.Configuration configuration, GrayF32 image, @Nullable QueueCorner localMin, @Nullable QueueCorner localMax) Call before each time a search is started on a new imageboolean
boolean
Create a new instance of this search algorithm.void
searchBlock
(int x0, int y0, int x1, int y1) Search the image for local max/min inside the specified region
-
Method Details
-
initialize
void initialize(boofcv.alg.feature.detect.extract.NonMaxBlock.Configuration configuration, GrayF32 image, @Nullable @Nullable QueueCorner localMin, @Nullable @Nullable QueueCorner localMax) Call before each time a search is started on a new image- Parameters:
configuration
- Describes how it should searchimage
- The image that is being searchedlocalMin
- Storage for local minimums. Can be null if not used.localMax
- Storage for local maximums. Can be null if not used.
-
searchBlock
void searchBlock(int x0, int y0, int x1, int y1) Search the image for local max/min inside the specified region- Parameters:
x0
- lower extent X (inclusive)y0
- lower extent Y (inclusive)x1
- upper extent X (exclusive)y1
- upper extent Y (exclusive)
-
isDetectMinimums
boolean isDetectMinimums() -
isDetectMaximums
boolean isDetectMaximums() -
newInstance
NonMaxBlock.Search newInstance()Create a new instance of this search algorithm. Useful for concurrent implementations
-