1) Most basic example. Fast! 17.462015151978 2) Load only given tags. It will stop once all given tags are found. Fastest! 0.36907196044922 Patient name if exists: CompressedSamples^CT1 Patient name should be empty here: CompressedSamples^CT1 3) Load only given tags by name. Stops once all tags are found. Not so fast. 32.516002655029 Patient name if exists: CompressedSamples^CT1 Patient name if exists: CompressedSamples^CT1 4) Load only given tags. Dump it and print certain tags. Load 'dumper' directly. 00084 0002:0000 MetaElementGroupLength UL 4 [192] 00090 0002:0001 FileMetaInformationVersion OB 2 [BINARY. Element starts at 144] 0009E 0002:0002 MediaStorageSOPClassUID UI 26 [1.2.840.10008.5.1.4.1.1.2] 000C0 0002:0003 MediaStorageSOPInstanceUID UI 48 [1.3.6.1.4.1.5962.1.1.1.1.1.20040119072730.12322] 000F8 0002:0010 TransferSyntaxUID UI 20 [1.2.840.10008.1.2.1] 00114 0002:0012 ImplementationClassUID UI 18 [1.3.6.1.4.1.5962.2] 0012E 0002:0013 ImplementationVersionName SH 10 [DCTOOL100] 00140 0002:0016 SourceApplicationEntityTitle AE 8 [CLUNIE1] 00150 0008:0005 SpecificCharacterSet CS 10 [ISO_IR 100] 00162 0008:0008 ImageType CS 22 [ORIGINAL\PRIMARY\AXIAL] 00180 0008:0012 InstanceCreationDate DA 8 [20040119] 00190 0008:0013 InstanceCreationTime TM 6 [072731] 0019E 0008:0014 InstanceCreatorUID UI 18 [1.3.6.1.4.1.5962.3] 001B8 0008:0016 SOPClassUID UI 26 [1.2.840.10008.5.1.4.1.1.2] 001DA 0008:0018 SOPInstanceUID UI 48 [1.3.6.1.4.1.5962.1.1.1.1.1.20040119072730.12322] 00212 0008:0020 StudyDate DA 8 [20040119] 00222 0008:0021 SeriesDate DA 8 [19970430] 00232 0008:0022 AcquisitionDate DA 8 [19970430] 00242 0008:0023 ContentDate DA 8 [19970430] 00252 0008:0030 StudyTime TM 6 [072730] 00260 0008:0031 SeriesTime TM 6 [112749] 0026E 0008:0032 AcquisitionTime TM 6 [112936] 0027C 0008:0033 ContentTime TM 6 [113008] 0028A 0008:0050 AccessionNumber SH 0 [] 00292 0008:0060 Modality CS 2 [CT] 0029C 0008:0070 Manufacturer LO 18 [GE MEDICAL SYSTEMS] 002B6 0008:0080 InstitutionName LO 18 [JFK IMAGING CENTER] 002D0 0008:0090 ReferringPhysicianName PN 0 [] 002D8 0008:0201 TimezoneOffsetFromUTC SH 6 [-0500] 002E6 0008:1010 StationName SH 8 [CT01_OC0] 002F6 0008:1030 StudyDescription LO 4 [e+1] 00302 0008:1090 ManufacturerModelName LO 8 [RHAPSODE] 00312 0009:0010 NA LO 12 [UNKNOWN] 00326 0009:1001 NA LO 14 [UNKNOWN] 0033C 0009:1002 NA SH 4 [UNKNOWN] 00348 0009:1004 NA SH 12 [UNKNOWN] 0035C 0009:1027 NA SL 4 [UNKNOWN] 00368 0009:1030 NA SH 0 [UNKNOWN] 00370 0009:1031 NA SH 0 [UNKNOWN] 00378 0009:10E6 NA SH 2 [UNKNOWN] 00382 0009:10E7 NA UL 4 [UNKNOWN] 0038E 0009:10E9 NA SL 4 [UNKNOWN] 0039A 0010:0010 PatientName PN 22 [CompressedSamples^CT1] 0.36287307739258 Something should show if element exists.CompressedSamples^CT1 This should be empty, no dictionaries loaded.CompressedSamples^CT1 5) Load simple and print certain value 1.2140274047852 Patient Name: CompressedSamples^CT1 6) Load simple and extend it to 'dumper'
Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, bool given in D:\Program Files\xampp\htdocs\Nanodicom-master\nanodicom\core.php:398 Stack trace: #0 D:\Program Files\xampp\htdocs\Nanodicom-master\nanodicom\core.php(398): method_exists(true, 'dump') #1 D:\Program Files\xampp\htdocs\Nanodicom-master\example.php(112): Nanodicom_Core->__call('dump', Array) #2 {main} thrown in D:\Program Files\xampp\htdocs\Nanodicom-master\nanodicom\core.php on line 398