Dehaze with Rawprocess
This commit is contained in:
@@ -121,6 +121,9 @@ PreviewImage::PreviewImage (const Glib::ustring &fname, const Glib::ustring &ext
|
||||
rtengine::Image8 *output = NULL;
|
||||
const unsigned char *data = NULL;
|
||||
int fw, fh;
|
||||
LUTf cdcurve;
|
||||
bool dehacontlutili=false;
|
||||
|
||||
procparams::ProcParams params;
|
||||
/*rtengine::RAWParams raw;
|
||||
rtengine::LensProfParams lensProf;
|
||||
@@ -137,6 +140,7 @@ PreviewImage::PreviewImage (const Glib::ustring &fname, const Glib::ustring &ext
|
||||
params.raw.xtranssensor.method = RAWParams::XTransSensor::methodstring[RAWParams::XTransSensor::fast];
|
||||
rawImage.preprocess(params.raw, params.lensProf, params.coarse);
|
||||
rawImage.demosaic(params.raw);
|
||||
// rawImage.dehaz(params.raw, params.icm, params.labCurve, cdcurve, dehacontlutili);
|
||||
Imagefloat* image = new rtengine::Imagefloat (fw, fh);
|
||||
rawImage.getImage (wb, TR_NONE, image, pp, params.toneCurve, params.icm, params.raw);
|
||||
output = new Image8(fw, fh);
|
||||
|
Reference in New Issue
Block a user