コード例 #1
0
ファイル: ViewDICOM.cs プロジェクト: itcthienkhiem/LIS
 public ViewDicom()
 {
     InitializeComponent();
     dd          = new DicomDecoder();
     pixels8     = new List <byte>();
     pixels16    = new List <ushort>();
     pixels24    = new List <byte>();
     imageOpened = false;
     signedImage = false;
 }
コード例 #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;
 }
コード例 #3
0
ファイル: MainForm.cs プロジェクト: SuperValou/VirtualScanner
 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;
 }
コード例 #4
0
ファイル: MainForm.cs プロジェクト: IMAGE-ET/Dicom-7
        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();
            });
        }
コード例 #5
0
 public MainConsole()
 {
     dd = new DicomDecoder();
     fp = new fakepanel();
     pixels16 = new List<ushort>();
 }
コード例 #6
0
 public MainConsole()
 {
     dd       = new DicomDecoder();
     fp       = new fakepanel();
     pixels16 = new List <ushort>();
 }