Exemplo n.º 1
0
        private void buttonResetSecondImage_Click(object sender, EventArgs e)
        {
            image     = new Bitmap(initialImage);
            workImage = new FastImage(image);

            UpdateWorkImage();
        }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
        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();
        }
Exemplo n.º 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);
        }