| 1234567891011121314151617181920212223242526272829303132333435363738 | #pragma once#include "BSEImgClr.h"#include "OTSImgProcPrmClr.h"#include "OTSImageProcess.h"#include <OTSFieldDataClr.h>#include "../OTSLog/COTSUtilityDllFunExport.h"namespace OTSCLRINTERFACE{	using namespace OTSCLRINTERFACE;	public ref class ImageProForClr	{	public:		    ImageProForClr(COTSImgProcPrmClr^ perameter);			void UpdateImageProcessParam(COTSImgProcPrmClr^ perameter);		   bool GetFieldDataFromImage(CBSEImgClr^ bseImg, COTSImgProcPrmClr^ perameter, double a_PixelSize, COTSFieldDataClr^ fieldData);			bool GetParticlesBySpecialPartGrayRange(CBSEImgClr^ bseImg, CIntRangeClr^ grayRange, CDoubleRangeClr^ diameterRange, double a_PixelSize, COTSFieldDataClr^ fieldData);			bool CalcuParticleImagePropertes(COTSParticleClr^ particle, double a_PixelSize);			BOOL MergeBigBoundaryParticles(System::Collections::Generic::List<COTSFieldDataClr^>^ allFields, double pixelSize, int scanFieldSize, Size ResolutionSize, System::Collections::Generic::List<COTSParticleClr^>^ mergedParts);			void ExecuteBinaryProcess(CBSEImgClr^ a_pImgIn, COTSImgProcPrmClr^ a_pImageProcessParam, CBSEImgClr^ a_pImgOut/*, long% foundedPixelNum*/);		  		    void GetSpecialGrayRangeImage(CBSEImgClr^ a_pImgIn, CIntRangeClr^ a_SpecialGrayRange, CBSEImgClr^ a_pBinImgOut, long% foundedPixelNum);				bool CalcuBrightPhaseDarkPhaseGrayByOtsu(CBSEImgClr^ m_pBSEImg, int% gray1, int% gray2);	private:		COTSImageProcess* imgProEngine;	};}
 |