started work on making RT not clip the image at intermediate stages

This commit is contained in:
Alberto Griggio
2018-02-09 21:25:39 +01:00
parent ee4546e16f
commit 08846264c7
13 changed files with 435 additions and 218 deletions

View File

@@ -162,9 +162,9 @@ void ImProcFunctions::Lanczos (const Imagefloat* src, Imagefloat* dst, float sca
b += wh[k] * lb[jj];
}
dst->r (i, j) = CLIP (r);//static_cast<int> (r));
dst->g (i, j) = CLIP (g);//static_cast<int> (g));
dst->b (i, j) = CLIP (b);//static_cast<int> (b));
dst->r (i, j) = /*CLIP*/ (r);//static_cast<int> (r));
dst->g (i, j) = /*CLIP*/ (g);//static_cast<int> (g));
dst->b (i, j) = /*CLIP*/ (b);//static_cast<int> (b));
}
}