public TransferSyntax(bool isBE, bool isExplicit) { this.isBE = isBE; this.isExplicit = isExplicit; vrfactory = new VRFactory(isBE); dictionary = new DicomDictionary(".\\dicom.dic"); }
public TransferSyntax() { //初始化 dicomDictionary = new DicomDictionary(); dicomDictionary.Read(@"F:\2018-2019大三下\Homework\DICOM\dicom.txt"); vrfactory = new VRFactory(this); vrdecoder = new UL(this); //从Decode方法移入,可以为任意vr子类 }
public TransferSyntax() { //初始化数据字典类对象 dictionary = new DicomDictionary(); vrfactory = new VRFactory(this); vrdecoder = new UL(this); }