示例#1
0
 public DicomFile GetHeader(bool forceComplete)
 {
     if (forceComplete)
     {
         LoadFullHeader();                 //Make sure the full header's loaded.
     }
     //Return a copy of whatever we've got.
     return(new DicomFile(null, MetaInfo.Copy(), DataSet.Copy()));
 }
示例#2
0
        public DicomFile LoadDicomFile(LoadSopDicomFileArgs args)
        {
            if (args.ForceCompleteHeader)
            {
                LoadFullHeader(args.IncludePixelData);
            }

            return(new DicomFile(null, MetaInfo.Copy(), DataSet.Copy()));
        }