Skip to main content

Module preprocessing

Module preprocessing 

Source
Expand description

Image preprocessing functionality

Includes operations like filtering, histogram manipulation, and morphological operations.

Re-exports§

pub use bilateral::bilateral_filter_advanced;
pub use bilateral::fast_bilateral_filter;
pub use bilateral::joint_bilateral_filter;
pub use bilateral::BilateralParams;
pub use gamma::adaptive_gamma_correction;
pub use gamma::auto_gamma_correction;
pub use gamma::gamma_correction;
pub use guided_filter::fast_guided_filter;
pub use guided_filter::guided_filter;
pub use guided_filter::guided_filter_color;
pub use morphology::black_hat;
pub use morphology::closing;
pub use morphology::dilate;
pub use morphology::erode;
pub use morphology::morphological_gradient;
pub use morphology::opening;
pub use morphology::top_hat;
pub use morphology::StructuringElement;
pub use nlm_denoise::nlm_denoise;
pub use nlm_denoise::nlm_denoise_color;
pub use nlm_denoise::nlm_denoise_parallel;
pub use retinex::adaptive_retinex;
pub use retinex::msrcr;
pub use retinex::multi_scale_retinex;
pub use retinex::retinex_with_clahe;
pub use retinex::single_scale_retinex;

Modules§

bilateral
Bilateral filter for edge-preserving smoothing
gamma
Gamma correction for contrast enhancement
guided_filter
Guided filtering for edge-preserving smoothing
morphology
Morphological operations for image preprocessing
nlm_denoise
Non-local means denoising
retinex
Retinex algorithms for image enhancement

Functions§

bilateral_filter
Apply bilateral filtering for edge-preserving noise reduction
clahe
Apply Contrast Limited Adaptive Histogram Equalization (CLAHE)
equalize_histogram
Apply histogram equalization to enhance contrast
gaussian_blur
Apply Gaussian blur to reduce noise
median_filter
Apply median filtering to remove salt-and-pepper noise
normalize_brightness
Normalize image brightness and contrast
to_grayscale
Convert an image to grayscale
unsharp_mask
Apply unsharp masking to enhance edges