diff --git a/reader/JFJochReaderImage.cpp b/reader/JFJochReaderImage.cpp index 93b86629..629e6254 100644 --- a/reader/JFJochReaderImage.cpp +++ b/reader/JFJochReaderImage.cpp @@ -106,16 +106,14 @@ void JFJochReaderImage::ProcessInputImage(const void *data, size_t npixel, int64 CalcAutoContrast(); } -#include + void JFJochReaderImage::CalcAutoContrast() { if (valid_pixel.empty()) auto_foreground = 10; else { auto it = valid_pixel.crbegin(); const auto index = static_cast(valid_pixel.size() * auto_foreground_range); - std::cout << valid_pixel.size() << " " << valid_pixel.size() * auto_foreground_range << " " << index << std::endl; std::advance(it, std::max(1ULL, index) - 1); - std::cout << it->first << " " << it->second << std::endl; auto_foreground = std::max(1, it->first); }