7010 屏蔽图像处理部分以及查值表保存图像代码
This commit is contained in:
parent
12ae6591b9
commit
88ac5e7839
|
@ -523,7 +523,7 @@ namespace hg_imgproc
|
|||
|
||||
float vratio = 0.0;
|
||||
float hratio = 0.0;
|
||||
cv::imwrite("C:\\image\\imdecode" + std::to_string(img_idx++) + ".jpg", mat);
|
||||
//cv::imwrite("C:\\image\\imdecode" + std::to_string(img_idx++) + ".jpg", mat);
|
||||
int dpi = param_.dpi == 600 ? 3 : (param_.dpi < 599 && param_.dpi >= 300) ? 2 : 1;
|
||||
int mode = param_.color_mode == COLOR_MODE_24_BITS ? 1 : 0;
|
||||
for (auto it : correction_image_map_)
|
||||
|
@ -1844,7 +1844,7 @@ namespace hg_imgproc
|
|||
memcpy(lutROI.data, tran.data, tran.total());
|
||||
}
|
||||
|
||||
cv::imwrite("C:\\image\\" + std::to_string(lut_idx++) + ".bmp", lut);
|
||||
//cv::imwrite("C:\\image\\" + std::to_string(lut_idx++) + ".bmp", lut);
|
||||
return lut;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue