偏色算法传参增加默认参数值

This commit is contained in:
yangjiaxuan 2023-11-15 10:16:36 +08:00
parent 95f01e66d3
commit ef81bb11df
1 changed files with 2 additions and 1 deletions

View File

@ -1412,7 +1412,8 @@ namespace hg_imgproc
std::vector<cv::Mat> mats(mats_);
mats_.clear();
CImageApplyColorCastCorrect::PreScheme deviceType = CImageApplyColorCastCorrect::G200;
int tmp = -1;
CImageApplyColorCastCorrect::PreScheme deviceType = (CImageApplyColorCastCorrect::PreScheme)tmp;
if (0x300 == pid_)
{
deviceType = CImageApplyColorCastCorrect::G300_D8;