darsia.detect_value#
- detect_value(img, value, tolerance=0.01)[source]#
Detects a value in an image.
- Parameters:
- img
darsia.ScalarImage The image to detect the value in.
- value
float The value to detect.
- tolerance
float,optional The tolerance for the value detection. Defaults to 0.1.
- img
- Returns:
darsia.VoxelArrayPixels with the detected value.