Beispiel #1
0
        public DElement(int tag, DVR vr, DValueType type)
        {
            IsRef = false;

            DicomVR  dicomVR  = DHelper.ConvertToDicomVR(vr);
            DicomTag dicomTag = DHelper.Int2DicomTag(tag);

            _element = CreateEmptyElement(dicomTag, dicomVR);

            Type = type;
        }
Beispiel #2
0
        public static int GetElement(int tag)
        {
            DicomTag dicomTag = DHelper.Int2DicomTag(tag);

            return(dicomTag.Element);
        }
Beispiel #3
0
        public static int GetGroup(int tag)
        {
            DicomTag dicomTag = DHelper.Int2DicomTag(tag);

            return(dicomTag.Group);
        }