Ejemplo n.º 1
0
        private void Erosion8(object sender, EventArgs e)
        {
            basicImageOpertions.ToGreyScale();
            KernelOpperations kernelOpperations = new KernelOpperations((Bitmap)this.pctbImage.Image);

            SetImageAndHist(kernelOpperations.Erosion(0, 1, 8));
        }
Ejemplo n.º 2
0
        private void Opening4(object sender, EventArgs e)
        {
            basicImageOpertions.ToGreyScale();
            KernelOpperations kernelOpperations = new KernelOpperations((Bitmap)this.pctbImage.Image);

            this.pctbImage.Image = kernelOpperations.Dilatation(0, 1, 4);

            kernelOpperations = new KernelOpperations((Bitmap)this.pctbImage.Image);

            this.pctbImage.Image = kernelOpperations.Erosion(0, 1, 4);
            SetImageAndHist((Bitmap)this.pctbImage.Image);
        }