IImageProcess.cs 833 B

123456789101112131415161718192021
  1. using OTSCLRINTERFACE;
  2. using OTSDataType;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace OTSModelSharp.ImageProcess
  9. {
  10. public interface IImageProcess
  11. {
  12. bool RemoveBGAndGetParts(CBSEImgClr img, COTSImageProcParam a_pImgProcessParam,double a_pixelSize ,ref List<COTSParticleClr> parts);
  13. bool CalParticleImageProp( COTSParticleClr part, double a_pixelSize);
  14. void BDilate3(string source, string target, int wDegree, int rows, int columns);
  15. void BErode3(string source, string target, int wDegree, int rows, int columns);
  16. bool MergeBigBoundaryParticles(List<COTSField> allFields, double pixelSize, int scanFieldSize, System.Drawing.Size ResolutionSize ,ref List<COTSParticleClr> mergedParts);
  17. }
  18. }