Beispiel #1
0
        /// <summary>
        /// Apply default dilation
        /// </summary>
        /// <param name="image">target image</param>
        public override void Apply(Image image)
        {
            Structure structure = new Structure2D();
            structure.SetValues(1, 1, 1, 1, 1, 1, 1, 1, 1);

            ApplyDilation(image, structure);
        }
 public DoubleStructure2D(Structure2D foreground, Structure2D background)
 {
     Foreground = foreground;
     Background = background;
     StructureSize = foreground.StructureSize;
 }