/// <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); }
/// <summary> /// Updat ethe pixel data related tags in a DICOM message. /// </summary> /// <param name="message"></param> public abstract void UpdateMessage(DicomMessageBase message);
/// <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]; }
/// <summary> /// Constructor. /// </summary> /// <param name="message"></param> protected DicomPixelData(DicomMessageBase message) : this(message.DataSet) { _transferSyntax = message.TransferSyntax; }