add threshold detail denoise - thanks to Alberto

This commit is contained in:
Desmis
2019-10-12 18:14:39 +02:00
parent 82a590b439
commit fe10587741
12 changed files with 393 additions and 225 deletions

View File

@@ -25,4 +25,8 @@ namespace rtengine
{
void findMinMaxPercentile(const float* data, size_t size, float minPrct, float& minOut, float maxPrct, float& maxOut, bool multiThread = true);
void buildBlendMask(const float* const * luminance, float **blend, int W, int H, float &contrastThreshold, float amount = 1.f, bool autoContrast = false, float ** clipmask = nullptr);
// implemented in tmo_fattal02
void buildGradientsMask(int W, int H, float **luminance, float **out,
float amount, int nlevels, int detail_level,
float alfa, float beta, bool multithread);
}