How do you convert VR=DS to VR=FD using matlab

This is a discussion on How do you convert VR=DS to VR=FD using matlab within the DICOM forums, part of the Protocols category; 'lo, I was running some regression tests, and realized one DICOM file was giving me some issues: .... (0002,0012) UI [1.3.6.1.4.1.9590.100.1.0.100.4.0] # 32, 1 ImplementationClassUID (0002,0013) SH [MATLAB IPT 4.0] ...

Go Back   Unix Linux Forum > Technologies & Tools > Protocols > DICOM

FixUnix.com - Unix Linux Forums

Unix Content Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-14-2008, 09:07 AM
Default How do you convert VR=DS to VR=FD using matlab

'lo,

I was running some regression tests, and realized one DICOM file was
giving me some issues:

....
(0002,0012) UI [1.3.6.1.4.1.9590.100.1.0.100.4.0] # 32, 1
ImplementationClassUID
(0002,0013) SH [MATLAB IPT 4.0] # 14, 1
ImplementationVersionName
(0002,0016) AE [CARDIAC] # 8, 1
SourceApplicationEntityTitle
....

I could only print ELSCINT1 VR=DS attributes if I changed the VR into
FD:

....
(01f1,1005) ?? (FD) 180 #
8,1 Reconstruction Arc
(01f1,1007) ?? (FD) 19 #
8,1 Table Velocity
(01f1,1008) ?? (FD) 115.84 #
8,1 Acquisition Length
(01f1,100c) ?? (FD) -0.169956\0.0850279 #
16,2 Scanner Relative Center
(01f1,100d) ?? (FD) 0 #
8,1 Rotation Angle
(01f1,1026) ?? (FD) 0.2 #
8,1 Pitch
(01f1,1027) ?? (FD) 0.4 #
8,1 Rotation Time
(01f1,1045) ?? (FD) 69 #
8,1 ?
(01f1,1049) ?? (FD) 1050 #
8,1 ?
....

I would bet there is subtle bug when readind VR=DS the output file
written is being written as VR=FD

If anyone has access to matlab + the Image Processing Toolbox with a
version higher than 4.0 we could check if the bug is still present,
anyone interested, please drop me an email.

Thanks,
-Mathieu
Reply With Quote
  #2  
Old 08-18-2008, 07:23 AM
Default Re: How do you convert VR=DS to VR=FD using matlab

On Aug 14, 3:07 pm, Mathieu Malaterre
wrote:
> 'lo,
>
> I was running some regression tests, and realized one DICOM file was
> giving me some issues:
>
> ...
> (0002,0012) UI [1.3.6.1.4.1.9590.100.1.0.100.4.0] # 32, 1
> ImplementationClassUID
> (0002,0013) SH [MATLAB IPT 4.0] # 14, 1
> ImplementationVersionName
> (0002,0016) AE [CARDIAC] # 8, 1
> SourceApplicationEntityTitle
> ...
>
> I could only print ELSCINT1 VR=DS attributes if I changed the VR into
> FD:
>
> ...
> (01f1,1005) ?? (FD) 180 #
> 8,1 Reconstruction Arc
> (01f1,1007) ?? (FD) 19 #
> 8,1 Table Velocity
> (01f1,1008) ?? (FD) 115.84 #
> 8,1 Acquisition Length
> (01f1,100c) ?? (FD) -0.169956\0.0850279 #
> 16,2 Scanner Relative Center
> (01f1,100d) ?? (FD) 0 #
> 8,1 Rotation Angle
> (01f1,1026) ?? (FD) 0.2 #
> 8,1 Pitch
> (01f1,1027) ?? (FD) 0.4 #
> 8,1 Rotation Time
> (01f1,1045) ?? (FD) 69 #
> 8,1 ?
> (01f1,1049) ?? (FD) 1050 #
> 8,1 ?
> ...
>
> I would bet there is subtle bug when readind VR=DS the output file
> written is being written as VR=FD
>
> If anyone has access to matlab + the Image Processing Toolbox with a
> version higher than 4.0 we could check if the bug is still present,
> anyone interested, please drop me an email.


Just FYI, this is *not* an issue with MATLAB at all, but rather a bug
in the Brillliance CT version V2.3 from Philips.

-Mathieu
Reply With Quote
Reply

Thread Tools


All times are GMT -5. The time now is 02:35 AM.

In an effort to better serve ads to our visitors, cookies are used on Fixunix.com. For more information, check out our Privacy Policy.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Ad Management by RedTyger