部分处理代码: VB.NET code …… Dim ts2 As IThresholder = New GlobalMeanThreshold(inbmp) Dim tsBMP As New Bitmap(PictureBox1.Width, PictureBox1.Height) ts2.RenderToBitmap(tsBMP) PictureBox6.Image = tsBMP PictureBox6.Height = PictureBox1.Height
部分处理代码: VB.NET code …… Dim ts2 As IThresholder = New GlobalMeanThreshold(inbmp) Dim tsBMP As New Bitmap(PictureBox1.Width, PictureBox1.Height) ts2.RenderToBitmap(tsBMP) PictureBox6.Image = tsBMP PictureBox6.Height = PictureBox1.Height