Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Closing"/> class.
 /// </summary>
 ///
 /// <param name="se">Structuring element.</param>
 ///
 /// <remarks><para>See documentation to <see cref="Erosion"/> and <see cref="Dilation"/>
 /// classes for information about structuring element constraints.</para></remarks>
 ///
 public Closing(short[,] se)
 {
     errosion = new Erosion(se);
     dilation = new Dilation(se);
 }
Example #2
0
 private void SetFilter()
 {
     ImageType = ImageTypes.Rgb24bpp;
     Af.Dilation newFilter = new Af.Dilation();
     imageFilter = newFilter;
 }