private void tsmiBinarization_Click(object sender, EventArgs e) { var Threshold = QueryThreshold("Бинаризация"); if (Threshold < 0) { return; } Bitmaps.Transform(r => Transformations.Binarization(r, (byte)Threshold)); pbProcessed.Refresh(); }
private void tsmiBinarization_Click(object sender, EventArgs e) { var Threshold = QueryThreshold("Бинаризация"); if (Threshold < 0) { return; } Bitmaps.Transform(r => Transformations.Binarization(r, (byte)Threshold)); pbProcessed.Refresh(); }