[Insight-users] How to write registration output of dicom series files?
akbarjan bayiz
abayiz at yahoo.com
Thu Feb 24 02:45:04 EST 2011
I am using ".dicom" files, and have provided the full path for it. Anyway, I will check for it again.
Thank you for your reply.
--- On Wed, 2/23/11, Dawood Masslawi <masslawi at gmail.com> wrote:
From: Dawood Masslawi <masslawi at gmail.com>
Subject: RE: How to write registration output of dicom series files?
To: "akbarjan bayiz" <abayiz at yahoo.com>
Cc: insight-users at itk.org
Date: Wednesday, February 23, 2011, 11:55 AM
What type of writer (or reader) information do you printout to verify your data pipeline?
Check if you have provided the image format in the end of the image path (e.g. ".dcm" for
DICOM), but then again make sure your pipeline is getting the right arguments (input and
output).
Hope this helps,
Dawood
--- On Wed, 2/23/11, akbarjan bayiz <abayiz at yahoo.com> wrote:
From: akbarjan bayiz <abayiz at yahoo.com>
Subject: RE: How to write registration output of dicom series files?
To: "Dawood Masslawi" <masslawi at gmail.com>
Cc: insight-users at itk.org
Date: Wednesday, February 23,
2011, 12:45 PM
Hello Dawood,
Thank you very much for your reply.
I have given the full address of the images, and by outputing the reader value to the screen, I can tell that the reader is working well. But when outputing the writer to the screen simply by "cout", it puts out the relevant writer information quite well, but among them, I found a sentence saying "The output file does not exist".
This really confuses me. Hope to receive further help. Thank you again in advance!
--- On Wed, 2/23/11, Dawood Masslawi <masslawi at gmail.com> wrote:
From: Dawood Masslawi <masslawi at gmail.com>
Subject: RE: How to write registration output of dicom series files?
To:
abayiz at yahoo.com
Cc: insight-users at itk.org
Date:
Wednesday, February 23, 2011, 8:58 AM
Hi Akbarjan,
You have to provide the full path of the images (not necessary for images in the same
folder as the binary file). Also, make sure that the arguments are passed to the writer
and reader filters
properly.
Regards,
Dawood
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Hello all!
I am running a code about
registering dicom images in two different folders using Demons algorithm. But when I try to write out the registration output as file(s), I cannot get it correctly. It compiles quite well, but when running it, it gives this message:
===================================================
terminate called after throwing an instance of 'itk::ImageFileReaderException'
what(): /usr/local/include/InsightToolkit/IO/itkImageFileReader.txx:100:
FileName must be specified
Aborted
===================================================
How can I solve this? Can I get the registration output file(s)?
Thank you in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110223/c1b838c6/attachment.htm>
More information about the Insight-users
mailing list