mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
chore: cargo fmt
This commit is contained in:
@@ -156,7 +156,7 @@ impl<LS: LuminanceSource> GlobalHistogramBinarizer<LS> {
|
||||
let row = height * y / 5;
|
||||
let localLuminances = source.get_row(row);
|
||||
let right = (width * 4) / 5;
|
||||
for x in (width/5)..right {
|
||||
for x in (width / 5)..right {
|
||||
let pixel = localLuminances[x];
|
||||
localBuckets[(pixel >> LUMINANCE_SHIFT) as usize] += 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user