| | |
| | | double dChamfer_Diff_um = dChamfer_std_um - dChamfer_um; |
| | | |
| | | pSideData->m_nNotch_Chamfer_Edge_Judge[nNotchIdx][nMeasureIdx] = 1; |
| | | |
| | | #if MINI_LED |
| | | //选取测量研磨尺寸最大值 |
| | | if (m_nChamferOffset_um < dChamfer_um) |
| | | { |
| | | if (m_nChamferOffset_um < dChamfer_um) { |
| | | m_nChamferOffset_um = dChamfer_um; |
| | | } |
| | | #endif |
| | | |
| | | pSideData->m_dNotch_Chamfer_Edge_Result_Diff_um[nNotchIdx][nMeasureIdx] = dChamfer_std_um - dChamfer_um; |
| | | pSideData->m_dNotch_Chamfer_Edge_Judge_Std_um[nNotchIdx][nMeasureIdx] = dChamfer_std_um; |
| | | pSideData->m_dNotch_Chamfer_Edge_Judge_Min_um[nNotchIdx][nMeasureIdx] = dChamfer_min_um; |
| | |
| | | nOffset = m_nChamferOffset_um / m_pGlassData->GetSideData(emDim)->m_dPixelSizeX; |
| | | nOffset += pNotchParam->m_nNotch_Inspect_Defect_Offset; |
| | | m_nChamferOffset_um = 0; |
| | | #else |
| | | nOffset = pNotchParam->m_nNotch_Inspect_Defect_Offset; |
| | | #endif // MINI_LED |
| | | |
| | | CRect rcIns = rtROI; |