Exemplo n.º 1
0
        private void SetImage(Image newImage)
        {
            Image dispose = ThreadControlCenter.Main.OriginalImage;

            GrayscaleImageData grayscaleImageData = new GrayscaleImageData(newImage);
            StereoImage        stereoImage        = new StereoImage(grayscaleImageData);

            ThreadControlCenter.Main.OriginalImage     = newImage;
            ThreadControlCenter.Main.ActiveStereoImage = stereoImage;
            dispose.DisposeDelayed();
            CenterPoint();
        }
Exemplo n.º 2
0
 public StereoImage(GrayscaleImageData left, GrayscaleImageData right)
 {
     Left  = Mono = left;
     Right = right;
 }
Exemplo n.º 3
0
 public StereoImage(GrayscaleImageData mono)
 {
     Left = Right = Mono = mono;
 }