Dual demosaic: Add auto threshold checkbox and show used value in ui, #4866

This commit is contained in:
heckflosse
2018-10-21 20:21:43 +02:00
parent 0da47b0da3
commit 8b65900066
19 changed files with 201 additions and 49 deletions

View File

@@ -24,6 +24,6 @@
namespace rtengine
{
void findMinMaxPercentile(const float* data, size_t size, float minPrct, float& minOut, float maxPrct, float& maxOut, bool multiThread = true);
void buildBlendMask(float** luminance, float **blend, int W, int H, float contrastThreshold, float amount = 1.f, bool autoContrast = false);
void buildBlendMask(float** luminance, float **blend, int W, int H, float &contrastThreshold, float amount = 1.f, bool autoContrast = false);
int calcContrastThreshold(float** luminance, float **blend, int W, int H);
}