|
@@ -31,6 +31,8 @@ namespace OTSModelSharp
|
|
|
nNewFieldId = m_pSampleRstFile.GetIdForANewField();
|
|
|
//first step:remove background of the bse image and compound all the finded particles.
|
|
|
curFldData = new CFieldDataClean( a_BSEImg,m_Sample.CalculatePixelSize());
|
|
|
+ CFieldDataClean curFldDataCln =( CFieldDataClean) curFldData;
|
|
|
+
|
|
|
curFldData.SetId(nNewFieldId);
|
|
|
curFldData.SetPosition(fldCenter);
|
|
|
GetOriginalParticles();
|
|
@@ -49,15 +51,12 @@ namespace OTSModelSharp
|
|
|
|
|
|
//special treatment.
|
|
|
//ParticleSpecialTreatment();
|
|
|
-<<<<<<< HEAD
|
|
|
- loger.Info("Begin to Calculate the image property of every particle!");
|
|
|
- var analysisparts = curFldData.ListAnalysisParticles;
|
|
|
- curFldData.CalParticleImageProp(analysisparts);//calculate particle image property such as feret diameter, DMAX etc.
|
|
|
-=======
|
|
|
+
|
|
|
+
|
|
|
log.Info("Begin to Calculate the image property of every particle!");
|
|
|
- var analysisparts = curFldDataMgr.ListBigParticles;
|
|
|
- curFldDataMgr.CalParticleImageProp(analysisparts);//calculate particle image property such as feret diameter, DMAX etc.
|
|
|
->>>>>>> b3e4b445b84559debf2b0aa83ff8b79e2ec8a891
|
|
|
+ var analysisparts = curFldDataCln.ListBigParticles;
|
|
|
+ curFldData.CalParticleImageProp(analysisparts);//calculate particle image property such as feret diameter, DMAX etc.
|
|
|
+
|
|
|
|
|
|
ClassifyParticles(curFldData.ListAnalysisParticles);
|
|
|
|