Skip to content

Commit

Permalink
Update src/contrast.rs
Browse files Browse the repository at this point in the history
Co-authored-by: ripytide <[email protected]>
  • Loading branch information
Dantsz and ripytide authored May 22, 2024
1 parent 5c2fda0 commit a89bb87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contrast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use crate::stats::{cumulative_histogram, histogram};

/// Applies an adaptive threshold to an image.
///
/// Equivalent to `adaptive_threshold_with_delta` with delta=0.
/// Equivalent to [`adaptive_threshold_with_delta()`] with delta=0.
pub fn adaptive_threshold(image: &GrayImage, block_radius: u32) -> GrayImage {
adaptive_threshold_with_delta(image, block_radius, 0)
}
Expand Down

0 comments on commit a89bb87

Please sign in to comment.