|
@@ -19,7 +19,7 @@ namespace OTSDataType
|
|
|
int DEFUALT_PARTICLE_GRAY_LEVEL_MAX = 155;
|
|
|
private CDoubleRange m_oIncArea = new CDoubleRange();
|
|
|
private CIntRange m_oBGGray = new CIntRange();
|
|
|
- private CIntRange m_oParticleGray = new CIntRange();
|
|
|
+ private CIntRange m_oParticleEigenGray = new CIntRange();
|
|
|
private OTS_BGREMOVE_TYPE m_BGRemoveType;
|
|
|
private OTS_AUTOBGREMOVE_TYPE m_autoBGRemoveType;
|
|
|
int m_OverlapParam;
|
|
@@ -89,7 +89,7 @@ namespace OTSDataType
|
|
|
m_specialGreyRangeParam = new CSpecialGrayRangeParam();
|
|
|
m_oIncArea = new CDoubleRange(DEFUALT_PARTICALE_AREA_MIN, DEFUALT_PARTICALE_AREA_MAX);
|
|
|
m_oBGGray = new CIntRange(DEFUALT_BG_GRAY_LEVEL_MIN, DEFUALT_BG_GRAY_LEVEL_MAX);
|
|
|
- m_oParticleGray = new CIntRange(DEFUALT_PARTICLE_GRAY_LEVEL_MIN, DEFUALT_PARTICLE_GRAY_LEVEL_MAX);
|
|
|
+ m_oParticleEigenGray = new CIntRange(DEFUALT_PARTICLE_GRAY_LEVEL_MIN, DEFUALT_PARTICLE_GRAY_LEVEL_MAX);
|
|
|
m_BGRemoveType = OTS_BGREMOVE_TYPE.MANUAL;// OTS_BGREMOVE_TYPE.AUTO;
|
|
|
m_autoBGRemoveType = OTS_AUTOBGREMOVE_TYPE.MIDDLE;
|
|
|
m_OverlapParam = 20;
|
|
@@ -100,8 +100,8 @@ namespace OTSDataType
|
|
|
public CIntRange GetBGGray() { return m_oBGGray; }
|
|
|
public void SetBGGray(CIntRange a_oVal) { m_oBGGray = a_oVal; }
|
|
|
|
|
|
- public CIntRange GetParticleGray() { return m_oParticleGray; }
|
|
|
- public void SetParticleGray(CIntRange a_oVal) { m_oParticleGray = a_oVal; }
|
|
|
+ public CIntRange GetParticleGray() { return m_oParticleEigenGray; }
|
|
|
+ public void SetParticleGray(CIntRange a_oVal) { m_oParticleEigenGray = a_oVal; }
|
|
|
|
|
|
public OTS_BGREMOVE_TYPE GetBGRemoveType() { return m_BGRemoveType; }
|
|
|
|
|
@@ -127,8 +127,8 @@ namespace OTSDataType
|
|
|
m_oIncArea.SetEnd(a_oSource.m_oIncArea.GetEnd());
|
|
|
m_oBGGray.SetStart(a_oSource.m_oBGGray.GetStart());
|
|
|
m_oBGGray.SetEnd(a_oSource.m_oBGGray.GetEnd());
|
|
|
- m_oParticleGray.SetStart(a_oSource.m_oParticleGray.GetStart());
|
|
|
- m_oParticleGray.SetEnd(a_oSource.m_oParticleGray.GetEnd());
|
|
|
+ m_oParticleEigenGray.SetStart(a_oSource.m_oParticleEigenGray.GetStart());
|
|
|
+ m_oParticleEigenGray.SetEnd(a_oSource.m_oParticleEigenGray.GetEnd());
|
|
|
m_BGRemoveType = a_oSource.m_BGRemoveType;
|
|
|
m_autoBGRemoveType = a_oSource.m_autoBGRemoveType;
|
|
|
SetParticleSelectCondition(a_oSource.GetParticleSelectCondition());
|
|
@@ -141,7 +141,7 @@ namespace OTSDataType
|
|
|
// return test result
|
|
|
return m_oIncArea == a_oSource.m_oIncArea &&
|
|
|
m_oBGGray == a_oSource.m_oBGGray &&
|
|
|
- m_oParticleGray == a_oSource.m_oParticleGray &&
|
|
|
+ m_oParticleEigenGray == a_oSource.m_oParticleEigenGray &&
|
|
|
|
|
|
m_OverlapParam == a_oSource.m_OverlapParam;
|
|
|
|
|
@@ -157,7 +157,7 @@ namespace OTSDataType
|
|
|
|
|
|
slo.Register("BGGray", m_oBGGray);
|
|
|
|
|
|
- slo.Register("ParticleGray", m_oParticleGray);
|
|
|
+ slo.Register("ParticleGray", m_oParticleEigenGray);
|
|
|
|
|
|
xInt xnOverlapParam = new xInt();
|
|
|
slo.Register("OverlapParam", xnOverlapParam);
|