private void buttonResult_Click(object sender, EventArgs e) { pictureBoxOutput.Image = MarkObject.Apply((Bitmap)pictureBoxOutput.Image); pictureBoxOutput.Image = Circumscription.Apply((Bitmap)pictureBoxOutput.Image); Circumscription.DrawLines(Circumscription.objectEdges, (Bitmap)pictureBoxInput.Image); pictureBoxInput.Refresh(); ScallingObjects.Apply(Circumscription.objectEdges, (Bitmap)pictureBoxInput.Image); }
private void saveObjectsToolStripMenuItem_Click(object sender, EventArgs e) { ScallingObjects.SaveObjects(ScallingObjects.Objects); }