Skip to content

Commit bb8740e

Browse files
author
tsing
committed
Fixed the typo breaks build
1 parent 8c96c4f commit bb8740e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/core/ImageFileProcessor.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ Buckets ImageFileProcessor::generateBuckets(size_t projWidth, size_t projHeight,
245245
auto invFrame = getNextFrame();
246246
unsigned char pixel = frame.at<uchar>(i % resY_, i / resY_);
247247
unsigned char invPixel = invFrame.at<uchar>(i % resY_, i / resY_);
248-
if (invPixel > pixel && invPixel - pixel >= getThreashold(i))
248+
if (invPixel > pixel && invPixel - pixel >= getThreshold(i))
249249
continue;
250250
else if (pixel > invPixel && pixel - invPixel > getWhiteThreshold(i)){
251251
bits.setBit((size_t)bitIdx);

0 commit comments

Comments
 (0)