One of the critical factors in determining the quality of a material is the porosity present in it. In order to detect the porosity in the material based on image processing there is a wide catalog of heterogeneity detectors such as Canny or Laplacia...