306 摩尔纹调整
This commit is contained in:
parent
3af53b5dae
commit
0b439c26e3
File diff suppressed because one or more lines are too long
|
@ -564,7 +564,7 @@ namespace hg_imgproc
|
|||
hratio = (200.0 / 300.0) * hratio;
|
||||
|
||||
if (img_conf_.removeMorr && dpi != 3)
|
||||
vratio = dpi == 1 ? vratio * 0.5186 : vratio * 0.7787;
|
||||
vratio = dpi == 1 ? vratio * 0.5 : vratio * 0.75; //0.5 = 200/400 0.75= 300/400
|
||||
|
||||
if (img_conf_.removeMorr)
|
||||
resize(mat, mat, cv::Size(0, 0), hratio, vratio, cv::InterpolationFlags::INTER_AREA);
|
||||
|
|
Loading…
Reference in New Issue