Esempio n. 1
0
 public ViewDicom()
 {
     InitializeComponent();
     dd          = new DicomDecoder();
     pixels8     = new List <byte>();
     pixels16    = new List <ushort>();
     pixels24    = new List <byte>();
     imageOpened = false;
     signedImage = false;
 }
Esempio n. 2
0
 public MainForm()
 {
     InitializeComponent();
     dd            = new DicomDecoder();
     pixels8       = new List <byte>();
     pixels16      = new List <ushort>();
     pixels24      = new List <byte>();
     imageOpened   = false;
     signedImage   = false;
     maxPixelValue = 0;
     minPixelValue = 65535;
 }
Esempio n. 3
0
 public MainForm()
 {
     InitializeComponent();
     dd = new DicomDecoder();
     pixels8 = new List<byte>();
     pixels16 = new List<ushort>();
     pixels24 = new List<byte>();
     imageOpened = false;
     signedImage = false;
     maxPixelValue = 0;
     minPixelValue = 65535;
 }
Esempio n. 4
0
        private void LoadSlicesAsync(string[] files, IProgress progress)
        {
            progress.Min(1);
            progress.Max(files.Length);
            progress.Reset();

            Parallel.ForEach(files, file =>
            {
                var decoder = new DicomDecoder();

                var slice = decoder.ReadDicomFile(file);

                _scanSet.AddSlice(slice);

                progress.Tick();
            });
        }
Esempio n. 5
0
 public MainConsole()
 {
     dd = new DicomDecoder();
     fp = new fakepanel();
     pixels16 = new List<ushort>();
 }
 public MainConsole()
 {
     dd       = new DicomDecoder();
     fp       = new fakepanel();
     pixels16 = new List <ushort>();
 }