调整锐化 在黑白之前
This commit is contained in:
parent
f33d1f7df5
commit
a9e9899319
|
@ -5409,6 +5409,12 @@ bool hg_scanner::image_process(std::shared_ptr<tiny_buffer>& buffer, uint32_t id
|
||||||
(this->*dump_img_)(ImagePrc_pHandle_, "nosieDetach");
|
(this->*dump_img_)(ImagePrc_pHandle_, "nosieDetach");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ((img_conf_.sharpen) && (pid_ != 0x239 && pid_ != 0x439))
|
||||||
|
{
|
||||||
|
hg_imgproc::sharpenType(ImagePrc_pHandle_);
|
||||||
|
(this->*dump_img_)(ImagePrc_pHandle_, "sharpenType");
|
||||||
|
}
|
||||||
|
|
||||||
if ((img_conf_.pixtype == COLOR_MODE_BLACK_WHITE) && (pid_ != 0x239 && pid_ != 0x439))
|
if ((img_conf_.pixtype == COLOR_MODE_BLACK_WHITE) && (pid_ != 0x239 && pid_ != 0x439))
|
||||||
{
|
{
|
||||||
hg_imgproc::errorextention(ImagePrc_pHandle_, bw_threshold_);
|
hg_imgproc::errorextention(ImagePrc_pHandle_, bw_threshold_);
|
||||||
|
@ -5422,11 +5428,6 @@ bool hg_scanner::image_process(std::shared_ptr<tiny_buffer>& buffer, uint32_t id
|
||||||
(this->*dump_img_)(ImagePrc_pHandle_, "multi_out_red");
|
(this->*dump_img_)(ImagePrc_pHandle_, "multi_out_red");
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((img_conf_.sharpen) && (pid_ != 0x239 && pid_ != 0x439))
|
|
||||||
{
|
|
||||||
hg_imgproc::sharpenType(ImagePrc_pHandle_);
|
|
||||||
(this->*dump_img_)(ImagePrc_pHandle_, "sharpenType");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (image_prc_param_.bits.split) //239
|
if (image_prc_param_.bits.split) //239
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue