From 308273fef97381356e96fcd9c17011409a3c2920 Mon Sep 17 00:00:00 2001 From: kojingeun <diteam.co.kr> Date: 수, 07 6월 2023 10:28:21 +0900 Subject: [PATCH] Ongoing50 #4517 CF AOI Review 결과 파일 찾기 실패 개선 1. Find Bin File 찾는 Library 변경 - CRT _findfirsti64 / _findnexti64 -> C++17 Filesystem directory_iterator - 파일 탐색 시간 20k Files(80GB) 1sec 소요 --- ReviewSystem/ReviewSystem/CameraViewAlign.cpp | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/ReviewSystem/ReviewSystem/CameraViewAlign.cpp b/ReviewSystem/ReviewSystem/CameraViewAlign.cpp index 5573053..2e8d575 100644 --- a/ReviewSystem/ReviewSystem/CameraViewAlign.cpp +++ b/ReviewSystem/ReviewSystem/CameraViewAlign.cpp @@ -11,6 +11,7 @@ IMPLEMENT_DYNAMIC(CCameraViewAlign, CCameraImageView) CCameraViewAlign::CCameraViewAlign(CWnd *pParentWnd) : CCameraImageView(pParentWnd) + { m_bDrawROIRect = TRUE; @@ -171,6 +172,28 @@ { CCHBufferDC *pDC = new CCHBufferDC(this); // device context for painting + // LYW 20200810 �닔�젙 + if (d_FindScore != 0) + { + if (d_FindScore > d_MatchingRate) + { + pDC->SetTextColor(RGB(0, 255, 0)); + } + + else if (d_FindScore < d_MatchingRate) + { + pDC->SetTextColor(RGB(255, 0, 0)); + } + else + { + pDC->SetTextColor(RGB(255, 255, 255)); + } + } + else + { + pDC->SetTextColor(RGB(255, 255, 255)); + } + UpdateImageView(pDC); if (m_bDrawROIRect) DrawROIRect(pDC); -- Gitblit v1.9.3