This module provides simple splitting based on intance number and should be used as template when writing more specific plugin modules.
The setup_dcm creates a template options hash.
If more data with the same series/instance number arrive -- can happen -- the second index is incremented until a free slot is found. It is up to the user to sort the mess, i.e. write/use a more sophisticated plugin.
Here happens the vendor/modallity specific stuff like parsing private fields. It is required to set the IcePos and dcm_key fields in the piddle header. dcm_key serves mainly as a unique identifier, IcePos is an index piddle.
sets useful options for this modality. Should accept a hash ref and return one.
alternative to split based on lProtID (matches raw data key)
To install PDL::IO::Dcm, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PDL::IO::Dcm
CPAN shell
perl -MCPAN -e shell install PDL::IO::Dcm
For more information on module installation, please visit the detailed CPAN module installation guide.