Ejemplo n.º 1
0
        public override Bitmap ApplyFilter(Bitmap img)
        {
            SimpleSkeletonization filterSE = new SimpleSkeletonization();

            this.imgThinning = filterSE.Apply(img);
            return(this.imgThinning);
        }
        public Bitmap Skeletonization(Bitmap bitmap)
        {
            SimpleSkeletonization filter = new SimpleSkeletonization(255, 0);

            return(filter.Apply(bitmap));
        }
Ejemplo n.º 3
0
        private void thinningToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SimpleSkeletonization filter = new SimpleSkeletonization();

            Image = filter.Apply(Image);
        }