First functionnal version of Spot-Removal tool

Still needs code cleanup, better algorithm and reantrance handling
This commit is contained in:
Hombre
2019-08-09 03:24:46 +02:00
parent e3052c67e2
commit 122e0b89be
7 changed files with 313 additions and 27 deletions

View File

@@ -333,7 +333,7 @@ public:
float MadRgb(const float * DataList, int datalen);
// spot removal tool
void removeSpots (Imagefloat* img, const std::vector<SpotEntry> &entries, const PreviewProps &pp);
void removeSpots (Imagefloat* img, ImageSource* imgsrc, const std::vector<SpotEntry> &entries, const PreviewProps &pp, const ColorTemp &currWB, int tr);
// pyramid wavelet
void dirpyr_equalizer(float ** src, float ** dst, int srcwidth, int srcheight, float ** l_a, float ** l_b, const double * mult, const double dirpyrThreshold, const double skinprot, float b_l, float t_l, float t_r, int scale); //Emil's directional pyramid wavelet