[Insight-users] Conversion slices(.img) -> volume
Devalkeneer Arnaud
arnauddebelgique at yahoo.com
Mon Feb 28 03:25:37 EST 2005
Hi everybody,
I explain you my problem : I try to use ibsr image
data with my program based on itk, but i can not find
any way to read directly the images with the "img"
extension.
It is the set of images with prefix 657_2 wich
contains 18 slices. I want to create a gipl volume
with these data. I wrote a small program (inspired of
the 011264.html (ITK mailing of November 2004) ) to do
this but the execution failed . Here are the error:
"Error reading the series
itk::ExceptionObject (0x80f5078)
Location: "Unknown"
Description: File cannot be read"
I checked the filenames serie by printing these on the
console. It is OK : it is the true paths to image
files. But it seems that it is the reading of the .img
images fails.
I know that I can convert manually these "img" images
to dicom format with e.g. Osiris before proceeding
with ITK. Also I know the solution of writing a header
file but I want to create an automatic way for the
next conversions slices->volume that I will need.
Is there rather no way to directly work with only ITK?
Thanks a lot in advance for your help.
Arnaud
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.cxx
Type: application/octet-stream
Size: 1630 bytes
Desc: make.cxx
Url : http://public.kitware.com/pipermail/insight-users/attachments/20050228/e5b13f4b/make.obj
More information about the Insight-users
mailing list