|
@@ -178,7 +178,9 @@ namespace OTSDataType
|
|
CImageHandler imghandler = new CImageHandler();
|
|
CImageHandler imghandler = new CImageHandler();
|
|
List<COTSParticleClr> Parts = GetListAnalysisParticles();
|
|
List<COTSParticleClr> Parts = GetListAnalysisParticles();
|
|
Bitmap img = new Bitmap(this.ImgWidth, this.ImgHeight);
|
|
Bitmap img = new Bitmap(this.ImgWidth, this.ImgHeight);
|
|
- imghandler.GetImageWithBlackColoredParts(Parts, ref img);
|
|
|
|
|
|
+ var imgparam = m_sample.GetMsrParams().GetImageProcessParam();
|
|
|
|
+ var pixelsize = m_sample.CalculatePixelSize();
|
|
|
|
+ imghandler.GetImageWithBlackColoredParts(Parts,imgparam,pixelsize, ref img);
|
|
return img;
|
|
return img;
|
|
}
|
|
}
|
|
public Bitmap GetAnalysisParticleSTDColoredImage()
|
|
public Bitmap GetAnalysisParticleSTDColoredImage()
|
|
@@ -186,7 +188,9 @@ namespace OTSDataType
|
|
CImageHandler imghandler = new CImageHandler();
|
|
CImageHandler imghandler = new CImageHandler();
|
|
List<COTSParticleClr> Parts = GetListAnalysisParticles();
|
|
List<COTSParticleClr> Parts = GetListAnalysisParticles();
|
|
Bitmap img = new Bitmap(this.ImgWidth, this.ImgHeight);
|
|
Bitmap img = new Bitmap(this.ImgWidth, this.ImgHeight);
|
|
- imghandler.GetImageWithSTDColoredParts(Parts, ref img);
|
|
|
|
|
|
+ var imgparam = m_sample.GetMsrParams().GetImageProcessParam();
|
|
|
|
+ var pixelsize = m_sample.CalculatePixelSize();
|
|
|
|
+ imghandler.GetImageWithSTDColoredParts(Parts, imgparam, pixelsize, ref img);
|
|
return img;
|
|
return img;
|
|
}
|
|
}
|
|
public void SetBSEImage(CBSEImgClr a_pBSEImg)
|
|
public void SetBSEImage(CBSEImgClr a_pBSEImg)
|