- All Implemented Interfaces:
Randomly selects features up to the limit from the set of detected. This is actually not as bad of an approach as it might seem. Could be viewed as a less effective version of
selectpublic void select
(int imageWidth, int imageHeight, @Nullable @Nullable FastAccess<Point> prior, FastAccess<Point> detected, int limit, FastArray<Point> selected)Description copied from interface:
FeatureSelectLimitSelects features inside the image.
- Specified by:
imageWidth- Width of the image the features were detected in
imageHeight- Height of the image the features were detected in
prior- (Input) Locations of previously detected features
detected- (Input) Locations of newly detected features
limit- (Input) The maximum number of new features detected
selected- (Output) Selected features. Element count not exceed the limit. Reset on every call.