New highlight reconstruction algorithm, replaces color propagation.

This commit is contained in:
Emil Martinec
2011-06-27 07:46:01 -05:00
parent 70a34d67d3
commit 88c7e54774
13 changed files with 727 additions and 114 deletions

View File

@@ -98,9 +98,9 @@ IImage16* processImage (ProcessingJob* pjob, int& errorCode, ProgressListener* p
currWB = imgsrc->getAutoWB ();
PreviewProps pp (0, 0, fw, fh, 1);
imgsrc->preprocess( params.raw );
imgsrc->preprocess( params.raw, params.hlrecovery );
if (pl) pl->setProgress (0.20);
imgsrc->demosaic( params.raw );
imgsrc->demosaic( params.raw, params.hlrecovery );
if (pl) pl->setProgress (0.40);
Imagefloat* baseImg = new Imagefloat (fw, fh);
imgsrc->getImage (currWB, tr, baseImg, pp, params.hlrecovery, params.icm, params.raw);