Interface FeatureSelectLimit<Point>
- All Known Implementing Classes:
FeatureSelectN,FeatureSelectRandom,FeatureSelectUniform,FeatureSelectUniform.F32,FeatureSelectUniform.F64,FeatureSelectUniform.I16
public interface FeatureSelectLimit<Point>
Selects a subset of the features inside the image until it hits the requested number.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidselect(int imageWidth, int imageHeight, @Nullable FastAccess<Point> prior, FastAccess<Point> detected, int limit, FastArray<Point> selected) Selects features inside the image.
-
Method Details
-
select
void select(int imageWidth, int imageHeight, @Nullable @Nullable FastAccess<Point> prior, FastAccess<Point> detected, int limit, FastArray<Point> selected) Selects features inside the image.- Parameters:
imageWidth- Width of the image the features were detected inimageHeight- Height of the image the features were detected inprior- (Input) Locations of previously detected featuresdetected- (Input) Locations of newly detected featureslimit- (Input) The maximum number of new features detectedselected- (Output) Selected features. Element count not exceed the limit. Reset on every call.
-