use double precision gaussian blur if sigma >= 25, #4928

This commit is contained in:
heckflosse
2018-11-03 14:26:39 +01:00
parent 18f55aeb40
commit fb0d231cb2

View File

@@ -1143,7 +1143,7 @@ template<class T> void gaussianBlurImpl(T** src, T** dst, const int W, const int
{
static constexpr auto GAUSS_SKIP = 0.25;
static constexpr auto GAUSS_3X3_LIMIT = 0.6;
static constexpr auto GAUSS_DOUBLE = 70.0;
static constexpr auto GAUSS_DOUBLE = 25.0;
if(buffer) {
// special variant for very large sigma, currently only used by retinex algorithm