Exemple #1
0
 public ViewDicom()
 {
     InitializeComponent();
     dd          = new DicomDecoder();
     pixels8     = new List <byte>();
     pixels16    = new List <ushort>();
     pixels24    = new List <byte>();
     imageOpened = false;
     signedImage = false;
 }
Exemple #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;
 }
 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;
 }
Exemple #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();
            });
        }
 public MainConsole()
 {
     dd = new DicomDecoder();
     fp = new fakepanel();
     pixels16 = new List<ushort>();
 }
 public MainConsole()
 {
     dd       = new DicomDecoder();
     fp       = new fakepanel();
     pixels16 = new List <ushort>();
 }