Commit 01527c44 authored by Ilya Lavrenov's avatar Ilya Lavrenov

removed unused field

parent e8d26b02
...@@ -49,8 +49,8 @@ namespace ...@@ -49,8 +49,8 @@ namespace
class CLAHE_CalcLut_Body : public cv::ParallelLoopBody class CLAHE_CalcLut_Body : public cv::ParallelLoopBody
{ {
public: public:
CLAHE_CalcLut_Body(const cv::Mat& src, cv::Mat& lut, cv::Size tileSize, int tilesX, int tilesY, int clipLimit, float lutScale) : CLAHE_CalcLut_Body(const cv::Mat& src, cv::Mat& lut, cv::Size tileSize, int tilesX, int clipLimit, float lutScale) :
src_(src), lut_(lut), tileSize_(tileSize), tilesX_(tilesX), tilesY_(tilesY), clipLimit_(clipLimit), lutScale_(lutScale) src_(src), lut_(lut), tileSize_(tileSize), tilesX_(tilesX), clipLimit_(clipLimit), lutScale_(lutScale)
{ {
} }
...@@ -62,7 +62,6 @@ namespace ...@@ -62,7 +62,6 @@ namespace
cv::Size tileSize_; cv::Size tileSize_;
int tilesX_; int tilesX_;
int tilesY_;
int clipLimit_; int clipLimit_;
float lutScale_; float lutScale_;
}; };
...@@ -293,7 +292,7 @@ namespace ...@@ -293,7 +292,7 @@ namespace
clipLimit = std::max(clipLimit, 1); clipLimit = std::max(clipLimit, 1);
} }
CLAHE_CalcLut_Body calcLutBody(srcForLut, lut_, tileSize, tilesX_, tilesY_, clipLimit, lutScale); CLAHE_CalcLut_Body calcLutBody(srcForLut, lut_, tileSize, tilesX_, clipLimit, lutScale);
cv::parallel_for_(cv::Range(0, tilesX_ * tilesY_), calcLutBody); cv::parallel_for_(cv::Range(0, tilesX_ * tilesY_), calcLutBody);
CLAHE_Interpolation_Body interpolationBody(src, dst, lut_, tileSize, tilesX_, tilesY_); CLAHE_Interpolation_Body interpolationBody(src, dst, lut_, tileSize, tilesX_, tilesY_);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment