[Insight-users] itk neighborhood operator image filter error

Luis Ibanez luis.ibanez at kitware.com
Mon, 19 Apr 2004 19:43:23 -0400


Hi Raghu,

It is likely that your process for reading the
DICOM series is failing.  The fact that it shows
up in the Neighborhood iterator may simply indicate
that you are reading an image of a single slice,
for example.

Please connect a ImageFileWriter directly to the
output of the DicomSeries reader and save the
image in another format. MetaImage will be the
best choice since then you can look at the header
and figure out what information from the DICOM
file is getting lost on the way.

Chances are that you only have a Input/Output
problem and not a processing problem.


I will also suggest you to try the example

     Insight/Examples/IO/
         DicomSeriesReadImageWrite.cxx

for reading your Dicom images, and to make sure
that you are using the series reader correctly.

For example, note that you should specify the
string identifying the series to be read.


Please let us know what you find.



    Thanks,


       Luis


-----------------------
raghu venkatram wrote:
> Hello Luis,
>  
> I am trying to register a MR and CT image using ImagetoImage mutual 
> information measure, I have no problems whatsoever using the analyze 
> image format.
>  
> when i switch to dicom, and use the series reader, i can read both the 
> series, but my program terminates with an error window asking me to 
> notify microsoft, debug option takes me to the itkneighborhoodoperator 
> filter.
>  
> is there something obvious that i am doing wrong? my image types are 
> unsigned short 3 dimensions.
>  
> thanks,
> raghu
>