David,

I took a brief look, I guess it is a great tool and will consider using it for fututre projects, but since I had the struct already coded and it's not gonna change often, I sticked to what I know.

A small bugfix update concerning  0-length dim issues.

Ingo

On 07/06/2012 07:35 PM, David Mertens wrote:
Ingo -

It looks to me like most of your code focuses on handling the details of the struct. Have you looked into http://p3rl.org/Convert::Binary::C? I think this might give you a much better way to handle the struct packing and unpacking.

Otherwise, great work!

David

On Thu, Jun 21, 2012 at 10:36 AM, Albrecht I. Schmid <[email protected] <mailto:[email protected]>> wrote:


    Hi,

    the next version, mainly bugfixes in the header definitions, more
    data types should be supported (untested) and new can now be
    called with a piiddle directly..

    Please comment.
    Ingo


    On 06/20/2012 06:03 PM, Ingo Schmid wrote:
    Hi,

    here is the first attempt at a PDL::IO::Nifti module, it reads
    images fine and PDLs written out can be opened in mricro without
    errors. It still needs a lot of testing, bug reports and feature
    requests are very welcome. There are still very few sanity checks
    in place.

    Is the POD formatted? Not sure how to test this since it is in my
    home ...

    When working with $nii->img, there are two caveats:
    1. any argument will overwrite the data.
    2. Working on the PDL requires you to use $nii->img->()

    best
    Ingo


    _______________________________________________
    PDL-porters mailing list
    [email protected]  <mailto:[email protected]>
    http://mailman.jach.hawaii.edu/mailman/listinfo/pdl-porters



-- Dipl.-Ing. Dr. Albrecht Ingo Schmid
    Medizinische Universtität Wien
    Zentrum f. Medizinische Physik und Biomedizinische Technik
    Exzellenzzentrum Hochfeld-MR
    Lazarettgasse 14
    1090 Wien
    Tel.:+43 1 40400 6461  <tel:%2B43%201%2040400%206461>


    _______________________________________________
    Perldl mailing list
    [email protected] <mailto:[email protected]>
    http://mailman.jach.hawaii.edu/mailman/listinfo/perldl




--
 "Debugging is twice as hard as writing the code in the first place.
  Therefore, if you write the code as cleverly as possible, you are,
  by definition, not smart enough to debug it." -- Brian Kernighan



Attachment: Nifti.pm
Description: Perl program

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to