コード例 #1
0
 /// <summary>
 /// Initializes a <see cref="DicomUncompressedPixelData"/> from the attributes in a DICOM file/message.
 /// </summary>
 /// <param name="dicomMessage">A DICOM file/message from which to initialize the properties of the <see cref="DicomUncompressedPixelData"/>.</param>
 public DicomUncompressedPixelData(DicomMessageBase dicomMessage)
     : base(dicomMessage)
 {
     _pd = dicomMessage.DataSet[DicomTags.PixelData];
     InitializeFrameData(this, _pd);
 }
コード例 #2
0
 /// <summary>
 /// Updat ethe pixel data related tags in a DICOM message.
 /// </summary>
 /// <param name="message"></param>
 public abstract void UpdateMessage(DicomMessageBase message);
コード例 #3
0
 /// <summary>
 /// Constructor from a <see cref="DicomMessageBase"/> instance.
 /// </summary>
 /// <param name="msg">The message to initialize the object from.</param>
 public DicomCompressedPixelData(DicomMessageBase msg)
     : base(msg)
 {
     _sq = (DicomFragmentSequence)msg.DataSet[DicomTags.PixelData];
 }
コード例 #4
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="message"></param>
 protected DicomPixelData(DicomMessageBase message)
     : this(message.DataSet)
 {
     _transferSyntax = message.TransferSyntax;
 }