How to load scan0 data for CBCT processing

121 views
Skip to first unread message

Ivan

unread,
Sep 20, 2010, 7:10:35 AM9/20/10
to Plastimatch
Hello,

When loading data in scan0 folder, fdk.exe needs ProjectionInfo.xml
and projection matrix files, I do find ProjectionInfo.xml within
scan0, but there is no projection matrix files, this causes fdk.exe
crashed. please let me know how I can create projection matrix files,
thanks.

Ivan

Gregory Sharp

unread,
Sep 20, 2010, 3:06:31 PM9/20/10
to plast...@googlegroups.com

Hi Ivan,

Maybe you have an old version of plastimatch. Recent versions read
the Varian header directly, and therefore no longer require the
projection matrix files. Can you tell me which version you have?

Greg
--
Greg Sharp, PhD
Department of Radiation Oncology
Massachusetts General Hospital


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Ivan

unread,
Sep 21, 2010, 12:42:30 AM9/21/10
to Plastimatch
Hello, Greg,

I checked out source from svn trunk on 2010-09-16, the scan0 data
directory in my disk as follows:
D:\cbct\data\ProjectionInfo.xml
D:\cbct\data\scan0\Proj_000.raw...
D:\cbct\data\scan0\ProjAngles.txt

The command line is:
fdk -I "D:\cbct\data" -a "0 382"

fdk crashed, I debug the source and found there is no mat_filename
like proj_000.txt loaded, by the way ProjectionInfo.xml is loaded
successfully.

Please give me any ideas, thanks Greg.

Ivan


On 9月21日, 上午3时06分, Gregory Sharp <gcsh...@partners.org> wrote:
> On Mon, 20 Sep 2010 04:10:35 -0700 (PDT)
>
> Ivan <mgma...@gmail.com> wrote:
> > Hello,
>
> > When loading data in scan0 folder, fdk.exe needs ProjectionInfo.xml
> > and projection matrix files, I do find ProjectionInfo.xml within
> > scan0, but there is no projection matrix files, this causes fdk.exe
> > crashed. please let me know how I can create projection matrix files,
> > thanks.
>
> > Ivan
>
> Hi Ivan,
>
> Maybe you have an old version of plastimatch. Recent versions read
> the Varian header directly, and therefore no longer require the
> projection matrix files. Can you tell me which version you have?
>
> Greg
> --
> Greg Sharp, PhD
> Department of Radiation Oncology
> Massachusetts General Hospital
>
> The information in this e-mail is intended only for the person to whom it is
> addressed. If you believe this e-mail was sent to you in error and the e-mail
> contains patient information, please contact the Partners Compliance HelpLine athttp://www.partners.org/complianceline. If the e-mail was sent to you in error

Gregory Sharp

unread,
Sep 21, 2010, 9:30:16 AM9/21/10
to plast...@googlegroups.com

Hi Ivan,

I notice your files are *.raw instead of *.hnd.
Yes, if you use raw format you need to create the geometry.

These data are from Varian OBI, right? Do you still have
the *.hnd files?

Greg

Ivan

unread,
Sep 21, 2010, 10:48:34 AM9/21/10
to Plastimatch
Hello, Greg,

Actually I am building up a C-Arm Cone beam machine for spine
operation purpose, I need fdk.exe to test raw images from this
machine.

I have *.hnd files, and fdk.exe works fine with *.hnd files. I am
thinking about if I need to create the geometry, or convert *.raw to
*.hnd, thanks for your informaiton.

Ivan
> Massachusetts General Hospital- 隐藏被引用文字 -
>
> - 显示引用的文字 -

Gregory Sharp

unread,
Sep 21, 2010, 10:57:48 AM9/21/10
to plast...@googlegroups.com

Hi Ivan,

OK, now I understand. In this case, I think the best way is to create
the geometry files.

If you assume a circular arc, the easiest method to do this is to use the
drr.exe tool. This tool will create images and geometry files, but you can
throw away the images.

For example:

drr -a 383 -N 0.94 -g "1000 1500" -r "1024 768" -z "400 300" foo.mha

If you don't have circular arc, such as helical scan, it gets more
complicated. In that case you have to write a program to create the geometry
files.

-Greg

Ivan

unread,
Sep 22, 2010, 11:10:27 PM9/22/10
to Plastimatch
I loaded my raw data successfully, thanks Greg, your information is
helpful. I may have some further questions regarding to fdk algorithm,
I talk to you later.

Ivan

On 9月21日, 下午10时57分, Gregory Sharp <gcsh...@partners.org> wrote:
> Hi Ivan,
>
Reply all
Reply to author
Forward
0 new messages