Пример #1
0
        private void 라플라시안마스킹ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            src_tmp = result;

            using (gray gg = new gray())
                using (IplImage temp = gg.BuildLaplace(src))
                {
                    result = temp.Clone();
                }
            pictureBoxIpl1.ImageIpl = result;
        }
Пример #2
0
        //영상 변환
        //사진 RGB -> GRAY
        private void rGB2GRAYToolStripMenuItem_Click(object sender, EventArgs e)
        {
            src_tmp = result;

            using (gray gg = new gray())
                using (IplImage temp = gg.grayProcess(src))
                {
                    result = temp.Clone();
                }
            pictureBoxIpl1.ImageIpl = result;
        }
Пример #3
0
        private void 히스토그램평준화ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            src_tmp = result;

            using (gray gg = new gray())
                using (IplImage temp = gg.grayProcess(src))
                {
                    result = temp.Clone();
                }
            src_tmp = result;

            Cv.EqualizeHist(src_tmp, result);

            pictureBoxIpl1.ImageIpl = result;
        }
Пример #4
0
        private void 임계치필터링ThresholdingToolStripMenuItem_Click(object sender, EventArgs e)
        {
            src_tmp = result;

            int anInteger;

            anInteger = Convert.ToInt32(textBox1.Text);

            using (gray gg = new gray())
                using (IplImage temp = gg.ThresholdProcess(src, anInteger))
                {
                    result = temp.Clone();
                }

            pictureBoxIpl1.ImageIpl = result;
        }