Ejemplo n.º 1
0
        private void 축소NNToolStripMenuItem_Click(object sender, EventArgs e)
        {
            src_tmp = result;

            double n;

            n = Convert.ToDouble(textBox2.Text);

            if (src_tmp == null)
            {
                return;
            }
            using (pix Px = new pix())
                using (IplImage temp = Px.NN(src_tmp, n))
                {
                    result = temp.Clone();
                }
            pictureBoxIpl1.ImageIpl = result;
        }
Ejemplo n.º 2
0
        private void 회전ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            src_tmp = result;

            double degree;

            degree = Convert.ToDouble(textBox3.Text);


            if (src_tmp == null)
            {
                return;
            }
            using (pix Px2 = new pix())
                using (IplImage temp = Px2.Degree(src_tmp, degree))
                {
                    result = temp.Clone();
                }
            pictureBoxIpl1.ImageIpl = result;
        }