Skip to main content

Module algorithm

Module algorithm 

Source
Expand description

Core traits and structures for the glint mask generation library.

This module contains the fundamental abstractions that define the architecture of the library:

  • ImageLoader: Trait for loading images from various sensor formats
  • GlintAlgorithm: Trait for glint detection algorithms
  • PostProcessor: Trait for post-processing masks
  • Masker: Main orchestrator that composes the above traits
  • Sensor: Configuration for different sensor types

Structs§

AlgorithmConfig
Configuration for algorithm parameters

Enums§

AlgorithmParameter
Represents a configurable algorithm parameter

Traits§

GlintAlgorithm
Trait for glint detection algorithms.

Functions§

validate_threshold
Utility function to validate threshold values
validate_thresholds
Utility function to validate threshold arrays