ImageProForClr.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #pragma once
  2. #include "BSEImgClr.h"
  3. #include "OTSImgProcPrmClr.h"
  4. #include "OTSImageProcess.h"
  5. #include <OTSFieldDataClr.h>
  6. #include "../OTSLog/COTSUtilityDllFunExport.h"
  7. namespace OTSCLRINTERFACE
  8. {
  9. using namespace OTSCLRINTERFACE;
  10. public ref class ImageProForClr
  11. {
  12. public:
  13. ImageProForClr(COTSImgProcPrmClr^ perameter);
  14. void UpdateImageProcessParam(COTSImgProcPrmClr^ perameter);
  15. bool GetFieldDataFromImage(CBSEImgClr^ bseImg, COTSImgProcPrmClr^ perameter, double a_PixelSize, COTSFieldDataClr^ fieldData);
  16. bool GetParticlesBySpecialPartGrayRange(CBSEImgClr^ bseImg, CIntRangeClr^ grayRange, CDoubleRangeClr^ diameterRange, double a_PixelSize, COTSFieldDataClr^ fieldData);
  17. bool CalcuParticleImagePropertes(COTSParticleClr^ particle, double a_PixelSize);
  18. BOOL MergeBigBoundaryParticles(System::Collections::Generic::List<COTSFieldDataClr^>^ allFields, double pixelSize, int scanFieldSize, Size ResolutionSize, System::Collections::Generic::List<COTSParticleClr^>^ mergedParts);
  19. void RemoveBackGround(CBSEImgClr^ a_pImgIn, COTSImgProcPrmClr^ a_pImageProcessParam, CBSEImgClr^ a_pImgOut/*, long% foundedPixelNum*/);
  20. void GetSpecialGrayRangeImage(CBSEImgClr^ a_pImgIn, CIntRangeClr^ a_SpecialGrayRange, CBSEImgClr^ a_pBinImgOut, long% foundedPixelNum);
  21. private:
  22. COTSImageProcess* imgProEngine;
  23. };
  24. }