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)); }
private void thinningToolStripMenuItem_Click(object sender, EventArgs e) { SimpleSkeletonization filter = new SimpleSkeletonization(); Image = filter.Apply(Image); }