Example #1
0
        private void buttonResetSecondImage_Click(object sender, EventArgs e)
        {
            image     = new Bitmap(initialImage);
            workImage = new FastImage(image);

            UpdateWorkImage();
        }
 private void btnLoadImageRight_Click(object sender, EventArgs e)
 {
     openFileDialog.ShowDialog();
     sSourceFileName = openFileDialog.FileName;
     panelSourceRight.BackgroundImage = new Bitmap(sSourceFileName);
     image          = new Bitmap(sSourceFileName);
     workImageRight = new FastImage(image);
 }
        private void btnLoadImageLeft_Click(object sender, EventArgs e)
        {
            openFileDialog.ShowDialog();
            sSourceFileName = openFileDialog.FileName;
            panelSourceLeft.BackgroundImage = new Bitmap(sSourceFileName);

            image               = new Bitmap(sSourceFileName);
            workImageLeft       = new FastImage(image);
            workImageBlockMatch = new FastImage(image);
            InitDistanceMatrix();
        }
Example #4
0
        private void LoadClick(object sender, EventArgs e)
        {
            openFileDialog.ShowDialog();
            sSourceFileName = openFileDialog.FileName;

            initialImage                = new Bitmap(sSourceFileName);
            initialWorkImage            = new FastImage(initialImage);
            panelSource.BackgroundImage = initialImage;

            image     = new Bitmap(sSourceFileName);
            workImage = new FastImage(image);
        }