1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/// Rust implementation of glint mask generation tools for UAV and aerial imagery.
///
/// This library provides tools for detecting and masking specular reflections (glint)
/// in aerial and UAV imagery. It supports multiple sensor types and provides a
/// flexible, extensible architecture for adding new sensors and algorithms.
///
/// # Overview
///
/// The core workflow involves:
/// 1. Loading images from various sensor formats
/// 2. Applying glint detection algorithms (threshold-based)
/// 3. Post-processing masks (pixel buffering)
/// 4. Outputting masks compatible with photogrammetry software
///
/// # Architecture
///
/// The library is built around three main traits:
/// - [`ImageLoader`]: Handles loading images from different sensor formats
/// - [`GlintAlgorithm`]: Implements glint detection algorithms
/// - [`PostProcessor`]: Handles post-processing of generated masks
///
/// These are composed together using the [`Masker`] struct, which orchestrates
/// the entire processing pipeline.
// Re-export commonly used types
pub use ;
pub use ThresholdAlgorithm;
pub use ;
pub use ;
/// Current version of the library
pub const VERSION: &str = env!;