| | |
| | | #pragma once |
| | | #pragma once |
| | | |
| | | #include "Global_Define.h" |
| | | #include "HardwareSettings.h" |
| | |
| | | BOOL DefectProcess_Judge(CDefect *pDefect); |
| | | BOOL DefectProcess(CDefect* pDefect,CInspectCamera *pInspect, CCameraSettings* pCamera); |
| | | BOOL SaveDefectImage(LPBYTE pImage,CSize szImage,CRect rectDefect,CString strFile,DimensionDir emDir); |
| | | BOOL SaveDefectImage2(LPBYTE pImage,CSize szImage,CRect rectDefect,CString strFile); |
| | | BOOL SaveDefectImageModern(LPBYTE pImage,CSize szImage,CRect rectDefect,CString strFile); |
| | | BOOL SaveDefectImage_with_Title(CDefect* pDefect, CSize szImage, CRect rectDefect, CString strFile, CvScalar color = cvScalar(0, 0, 255)); |
| | | int MeasrueCutLineResult(DimensionDir dir); |
| | | |
| | |
| | | BOOL DeleteFolder(const CString &strFolder); |
| | | |
| | | private: |
| | | CRITICAL_SECTION m_criticalSection; //?¥3aá? |
| | | CRITICAL_SECTION m_criticalSection; //?¥3aá? |
| | | inline void Lock() { ::InitializeCriticalSection(&m_criticalSection); } |
| | | inline void Unlock() { ::DeleteCriticalSection(&m_criticalSection); } |
| | | |
| | |
| | | CString m_strSplineFolder; |
| | | CString m_strFullImgeFolder; |
| | | CString m_strImageMarkFolder; |
| | | |
| | | CString m_strImageDLFolder; |
| | | CString strDLFile; |
| | | void* m_pView; |
| | | }; |
| | | |