Skip to content
Snippets Groups Projects
Unverified Commit 16ea18ea authored by Kyle Siefring's avatar Kyle Siefring Committed by GitHub
Browse files

Use integral images in the self guided filter (#1396)

parent 3566d1af
No related branches found
No related tags found
No related merge requests found
......@@ -303,7 +303,7 @@ impl<T: Pixel> Plane<T> {
}
#[inline]
fn row_range(&self, x: isize, y: isize) -> Range<usize> {
pub fn row_range(&self, x: isize, y: isize) -> Range<usize> {
debug_assert!(self.cfg.yorigin as isize + y >= 0);
debug_assert!(self.cfg.xorigin as isize + x >= 0);
let base_y = (self.cfg.yorigin as isize + y) as usize;
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment