SDC C-Project CF Review 프로그램
LYW
2021-10-14 e8ba1e78e72f3f7ec2841f55fd90253b4dc414df
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#include "StdAfx.h"
#include "CHReviewRecipe/RsRcpAlignInfo.h"
 
CRsRcpAlignInfo::CRsRcpAlignInfo(void)
{
    Reset();
}
 
CRsRcpAlignInfo::~CRsRcpAlignInfo(void)
{
    Reset();
}
 
void CRsRcpAlignInfo::Reset()
{
    m_bAlignSkipMode    =    FALSE;
    m_bTotalPitchMeasure    = FALSE;
    // image matching
    m_bUseImage    = TRUE;
    m_dMatchingRate = 0.9;
    m_strFirstImageFile = _T("");
    m_strSecondImageFile = _T("");
    /*< LYW 20211012 - #3671 ADD Start >*/
    m_strFirstAssistantImageFile = _T("");
    m_strSecondAssistantImageFile = _T("");
    /*< LYW 20211012 - #3671 ADD End >*/
    m_strTotalPitchImageFile= _T("");
    // edge find param
    m_bUseEdge = TRUE;
    m_nEdgeWidth = 160;
    m_nEdgeHeight = 160;
    m_nEdgeThreshold = 30;
    m_nMergeRange = 4;
    m_dEdgeRate = 0.9;
 
    // manual light control
    m_bManualProcess = TRUE;
    m_dFirstCamExposure = 50;
    m_dSecondCamExposure = 50;
 
    // auto light control
    m_bAutoProcess = FALSE;
    m_dTargetMin = 60.;
    m_dTargetMax = 100.;
    m_dExposureMin = 0;
    m_dExposureMax = 255;
 
    // rotate 
    m_bRotateProcess = FALSE;
    m_nRetryCount = 3;
    m_dGlassAngleMin = 0.0000000001;
    m_dGlassAngleMax = 0.0000000002;
 
    m_bEdgeAlignProcess = FALSE;
}
 
void CRsRcpAlignInfo::SetInfo(const CRsRcpAlignInfo& rhs)
{
    *this = rhs;
}
 
void CRsRcpAlignInfo::GetInfo(CRsRcpAlignInfo& rhs)
{
    rhs = *this;
}