Module cv

Source
Expand description

Computer vision utilities

Structs§

QualityMetrics
Container for quality metric results

Constants§

INTENSITY_THRESHOLD
The threshold for feature detection

Functions§

calculate_quality_metrics
Pass in the options for which metrics you want to evaluate by making them Some() in the results that you pass in
clamp_u8
Clamp the value to the range [0, 255].
handle_color
If the input is a color image and we want a gray image, convert it to grayscale
is_feature
Check if the given event is a feature
mid_clamp_u8
Clamp the value to the range [0, 255]. If the value is outside of this range, set it to a mid- point gray value.