Пример #1
0
 private void ReadHeader(DicomHeader dicomheaderreader)
 {
     dHR             = dicomheaderreader;
     h               = dicomheaderreader.getRows();
     w               = dicomheaderreader.getColumns();
     highBit         = dicomheaderreader.getHighBit();
     bitsStored      = dicomheaderreader.getBitStored();
     bitsAllocated   = dicomheaderreader.getBitAllocated();
     n               = bitsAllocated / 8;
     signed          = dicomheaderreader.getPixelRepresentation() == 1;
     samplesPerPixel = dicomheaderreader.getSamplesPerPixel();
     //pixData = dicomheaderreader.getPixels();
     ignoreNegValues = true;
     samplesPerPixel = dicomheaderreader.getSamplesPerPixel();
     numberOfFrames  = dicomheaderreader.getNumberOfFrames();
     dbg("Number of Frames " + numberOfFrames);
 }
Пример #2
0
 private void ReadHeader(DicomHeader dicomheaderreader)
 {
     dHR = dicomheaderreader;
     h = dicomheaderreader.getRows();
     w = dicomheaderreader.getColumns();
     highBit = dicomheaderreader.getHighBit();
     bitsStored = dicomheaderreader.getBitStored();
     bitsAllocated = dicomheaderreader.getBitAllocated();
     n = bitsAllocated / 8;
     signed = dicomheaderreader.getPixelRepresentation() == 1;
     samplesPerPixel = dicomheaderreader.getSamplesPerPixel();
     //pixData = dicomheaderreader.getPixels();
     ignoreNegValues = true;
     samplesPerPixel = dicomheaderreader.getSamplesPerPixel();
     numberOfFrames = dicomheaderreader.getNumberOfFrames();
     dbg("Number of Frames " + numberOfFrames);
 }