[Rtk-users] Rtk-users Digest, Vol 6, Issue 6

Marc Vila Oliva marc.vila-oliva at creatis.insa-lyon.fr
Thu Feb 28 09:50:12 EST 2013


Hello Debin, 

You can read a .mha file with "VV" for instance. It can be easily
downloaded at: 

http://www.creatis.insa-lyon.fr/rio/vv/

With Matlab I am not pretty sure but as you don't have directly the raw
file of your image. You have to take into account the header of your
file and then you will be able to read your image. Or maybe there is
already a toolbox which does this for you in Matlab. If you can decide
the format of your file I would recommend you to use .mhd extension, in
that case you would have your header in a separate file (.mhd) and your
raw image (.raw). 

I hope it helps! 

Cheers, 
Marc

On Thu, 2013-02-28 at 22:39 +0800, 古月 wrote:
> Hi,
>    I have a problem. how to read the .mha file? Can i use the matlab?
> Debin
> 
> 2013/2/28 <rtk-users-request at openrtk.org>
>         Send Rtk-users mailing list submissions to
>                 rtk-users at openrtk.org
>         
>         To subscribe or unsubscribe via the World Wide Web, visit
>         
>         http://public.kitware.com/cgi-bin/mailman/listinfo/rtk-users
>         or, via email, send a message with subject or body 'help' to
>                 rtk-users-request at openrtk.org
>         
>         You can reach the person managing the list at
>                 rtk-users-owner at openrtk.org
>         
>         When replying, please edit your Subject line so it is more
>         specific
>         than "Re: Contents of Rtk-users digest..."
>         
>         
>         Today's Topics:
>         
>            1. Re: trouble projecting phantom (M Miller)
>         
>         
>         ----------------------------------------------------------------------
>         
>         Message: 1
>         Date: Tue, 26 Feb 2013 21:45:48 -0800 (PST)
>         From: M Miller <croow at yahoo.com>
>         Subject: Re: [Rtk-users] trouble projecting phantom
>         To: Simon Rit <simon.rit at creatis.insa-lyon.fr>
>         Cc: rtk-users at openrtk.org
>         Message-ID:
>         
>         <1361943948.94604.YahooMailClassic at web163804.mail.gq1.yahoo.com>
>         Content-Type: text/plain; charset="iso-8859-1"
>         
>         Scaling the phantom worked perfectly.
>         You mentioned that a reconstruction will need to specify the
>         source outside of the volume. How can I specify that? What
>         parameters would you pass to rtkfdk.exe to reconstruct the
>         phantom?
>         ?
>         Thanks
>         Micah
>         
>         --- On Tue, 2/26/13, Simon Rit
>         <simon.rit at creatis.insa-lyon.fr> wrote:
>         
>         
>         From: Simon Rit <simon.rit at creatis.insa-lyon.fr>
>         Subject: Re: [Rtk-users] trouble projecting phantom
>         To: "M Miller" <croow at yahoo.com>
>         Cc: rtk-users at openrtk.org
>         Date: Tuesday, February 26, 2013, 12:36 AM
>         
>         
>         Hi Micah,
>         I have given it a try and I think I obtain the expected result
>         if you use the SheppLogan file that we provide here
>         http://midas3.kitware.com/midas/download?items=27326
>         However, the result might surprise you because your source is
>         in the phantom (sid=65.93 vs largest ellipsoid which is
>         A=88.32 B=115.2 C=117.76). You can scale the shepp logan
>         phantom using the following command
>         rtkprojectshepploganphantom -g geo.xml -o proj.mha --spacing 1
>         --dimension 1024 --phantomscale 10
>         You will then obtain more meaningful results, i.e., the full
>         phantom will be in the beam.
>         Note by the way that if you use rtkfdk afterwards, you will
>         have to be careful to have the source outside the volume as
>         well. I have recently noticed that there was a bug when the
>         source was in the volume, I will fix it as soon as possible.
>         Simon
>         
>         
>         On Tue, Feb 26, 2013 at 2:23 AM, M Miller <croow at yahoo.com>
>         wrote:
>         
>         
>         
>         
>         
>         
>         I've been unable to project a phantom, or anything else, at
>         high magnification. Here's the steps I've think should work,
>         but don't.
>         ?
>         "rtksimulatedgeometry.exe --output=geo.xml --nproj=1600
>         --arc=360 --sdd=870.86 --sid=65.93"
>         ?
>         These are the values from my actual CT system. Next I try
>         using rtkprojectgeometricphantom to create some projections.
>         ?
>         "rtkprojectgeometricphantom -g geo.xml -o projs
>         \projections1024.mha --spacing 1 --dimension 1024
>         --phantomfile
>         SheppLogan.txt"
>         ?
>         Inspecting the output projections shows they're mostly
>         unrecognizable. Repeating these steps with a higher SID does
>         produce the expected phantom projections. I've had no luck
>         using real data, so I thought I'd try a simple phantom, but
>         it's turned out to be not so simple.
>         ?
>         Is RTK limited somehow with respect to magnification, or are
>         my expectations unrealsitic? Am I missing a command-line
>         switch?
>         ?
>         Thanks
>         Micah
>         _______________________________________________
>         Rtk-users mailing list
>         Rtk-users at openrtk.org
>         http://public.kitware.com/cgi-bin/mailman/listinfo/rtk-users
>         
>         
>         -------------- next part --------------
>         An HTML attachment was scrubbed...
>         URL:
>         <http://public.kitware.com/pipermail/rtk-users/attachments/20130226/abec7e30/attachment-0001.htm>
>         
>         ------------------------------
>         
>         _______________________________________________
>         Rtk-users mailing list
>         Rtk-users at openrtk.org
>         http://public.kitware.com/cgi-bin/mailman/listinfo/rtk-users
>         
>         
>         End of Rtk-users Digest, Vol 6, Issue 6
>         ***************************************
> 
> _______________________________________________
> Rtk-users mailing list
> Rtk-users at openrtk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/rtk-users





More information about the Rtk-users mailing list