ready for merge

main
WilliamLiuAtCPC 3 years ago committed by GitHub
parent 9b8beb18c0
commit 922359c3f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -495,10 +495,15 @@ namespace hdrplus
return sharpImage;
}
void finish::pipeline_finish(){
void finish::process(std::string burstPath, cv::Mat mergedBayer,int refIdx){
// copy mergedBayer to rawReference
std::cout<<"finish pipeline start ..."<<std::endl;
this->refIdx = refIdx;
this->burstPath = burstPath;
this->mergedBayer = mergedBayer;//loadFromCSV(mergedBayerPath, CV_16UC1);
load_rawPathList(burstPath);
// read in ref img
bayer_image* ref = new bayer_image(rawPathList[refIdx]);
cv::Mat processedRefImage = postprocess(ref->libraw_processor,params.rawpyArgs);

Loading…
Cancel
Save