#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;
|
}
|