java - Read and Write on DICOM attribute with pixelmed -


i'm trying read data attribute tag in java library pixelmed. code had :

public static void main(string args[]) throws ioexception, dicomexception {  dicominputstream my_image = new dicominputstream(new file("/volumes/cdp/20130212101717421/20130212101636203"));  attributelist list = new attributelist();  specificcharacterset sc=new specificcharacterset(list); personnameattribute pna=new personnameattribute(tagfromname.patientname,1000,my_image,sc);   system.out.println(pna.getdelimitedstringvaluesoremptystring());      } 

with code data of attributes :

���ul������ob��������ui�1.2.840.10008.5.1.4.1.1.4���ui6�1.2.840.113619.2.244.6945.224850.21460.1360606914.740���ui�1.2.840.10008.1.2.1���ui�1.2.376.99999.1.1.20041017��sh�cdp_v3��ae�mrs��cs �iso_ir ... etc etc                     

but want information on tag (0x0010,0x0010).

have considered:

attributelist list = new attributelist(); list.read(file); string patientname=attribute.getdelimitedstringvaluesoremptystring(list,tagfromname.patientname); 

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -