Example #1
0
 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);
 }
Example #2
0
 private void saveObjectsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ScallingObjects.SaveObjects(ScallingObjects.Objects);
 }