Merge branch 'master' of http://192.168.100.140:8099/sane/code_device
This commit is contained in:
commit
7cf086f567
|
@ -934,8 +934,6 @@ int hg_scanner_402::writedown_image_configuration(void)
|
|||
else
|
||||
ic.imageRotateDegree = 0;
|
||||
|
||||
ic.imageRotateDegree *= 90.0f;
|
||||
|
||||
ic.is_duplex = (image_prc_param_.bits.page == PAGE_DOUBLE
|
||||
|| image_prc_param_.bits.page == PAGE_OMIT_EMPTY
|
||||
|| image_prc_param_.bits.page == PAGE_OMIT_EMPTY_RECEIPT
|
||||
|
|
|
@ -467,12 +467,13 @@ namespace hg_imgproc
|
|||
mats_.clear();
|
||||
|
||||
float scale = img_conf_.fillhole.fillholeratio / 100.0;
|
||||
CImageApplyOutHole outh(200,scale,50);
|
||||
float val = img_conf_.resolution_dst / 10;
|
||||
CImageApplyOutHole outh(val,scale,50);
|
||||
|
||||
outh.apply(mats,img_conf_.is_duplex);
|
||||
mats_ = mats;
|
||||
|
||||
return ret;
|
||||
return ret;
|
||||
}
|
||||
int resolution_change()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue