|
|
|
|
@ -2952,6 +2952,7 @@ int ImgCheckAnalysisy::AI_Detect_QX()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 仅在调试模式下保存 AI_Qx_MaskList,并限制数量
|
|
|
|
|
#ifdef SAVE_RESIMG
|
|
|
|
|
if (DetImgInfo_shareP->bDebugsaveImg && pDetAIResult->AI_Qx_MaskList.size() < 200)
|
|
|
|
|
{
|
|
|
|
|
std::shared_ptr<ImageAllResult::AI_Det_MaskImg> temAIresult = std::make_shared<ImageAllResult::AI_Det_MaskImg>();
|
|
|
|
|
@ -2960,6 +2961,7 @@ int ImgCheckAnalysisy::AI_Detect_QX()
|
|
|
|
|
temAIresult->AI_mask = outimg;
|
|
|
|
|
pDetAIResult->AI_Qx_MaskList.push_back(temAIresult);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
std::shared_ptr<ImageAllResult::AI_Det_MaskImg> temAIresult = std::make_shared<ImageAllResult::AI_Det_MaskImg>();
|
|
|
|
|
@ -3138,6 +3140,7 @@ int ImgCheckAnalysisy::AI_Detect_127Cell()
|
|
|
|
|
AIresult.copyTo(AIresultMask(result->roi), AIresult);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#ifdef SAVE_RESIMG
|
|
|
|
|
{
|
|
|
|
|
std::shared_ptr<ImageAllResult::AI_Det_MaskImg> temAIresult = std::make_shared<ImageAllResult::AI_Det_MaskImg>();
|
|
|
|
|
temAIresult->roi = result->roi;
|
|
|
|
|
@ -3145,6 +3148,7 @@ int ImgCheckAnalysisy::AI_Detect_127Cell()
|
|
|
|
|
temAIresult->AI_mask = outimg;
|
|
|
|
|
pDetAIResult->AI_Qx_MaskList.push_back(temAIresult);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
std::shared_ptr<ImageAllResult::AI_Det_MaskImg> temAIresult = std::make_shared<ImageAllResult::AI_Det_MaskImg>();
|
|
|
|
|
|