[Insight-users] Error using ImageRegistration8.cxx

Smriti Raghunathan smriti.r at gmail.com
Thu Sep 29 17:52:39 EDT 2005


Hi Luis,
 The header for one of the images is :
 ObjectType = Image
NDims = 3
BinaryData = True
BinaryDataByteOrderMSB = False
Offset = 91.722 -142.335 861.784
ElementSpacing = 0.314453 0.314453 1
DimSize = 512 512 187
ElementType = MET_USHORT
ElementDataFile = please.raw
 The header for the other image is
 ObjectType = Image
NDims = 3
BinaryData = True
BinaryDataByteOrderMSB = False
Offset = 50.245 -153.859 924.541
ElementSpacing = 0.449219 0.449219 3
DimSize = 512 512 37
ElementType = MET_USHORT
ElementDataFile = please2.raw
 The computer has 1.5GB RAM
 thanks for your help
 Smriti


 On 9/29/05, Luis Ibanez <luis.ibanez at kitware.com> wrote:
>
>
> Hi Smriti,
>
> 1) How big are your images ?
> 2) How much memory does your machine has ?
>
> Please post the MetaImage headers to the list,
> so we can see the number of pixels along each
> dimension, and the pixel type of your images.
>
>
>
> Thanks
>
>
> Luis
>
>
>
> ---------------------------
> Smriti Raghunathan wrote:
> > Hi,
> > I am using ImageRegistration8.cxx to register two 3D image sets. Both
> > are CT images and both images are in .mhd format. However when I run the
> > code, after it starts registration I get the following error:
> >
> > ExceptionObject caught !
> >
> > itk::ExceptionObject <0104FCB0>
> > Location: "ImportImageContainer::AllocateElements"
> > File: H:\ITK\ITK_SOURCE_DIR\Code\Common\itkImportImageContainer.txx
> > Line: 186
> > Description: Failed to allocate memory for image
> >
> >
> > I have tried running this code before on two other image sets but never
> > got this error. So I am not sure why i might be getting this error this
> > time. Any help will be appreciated.
> >
> > Thanks
> >
> > Smriti
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users at itk.org
> > http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20050929/0f48aa43/attachment.html


More information about the Insight-users mailing list