<div>Hi Luis,</div>
<div> The header for one of the images is :</div>
<div> </div>
<div>ObjectType = Image<br>NDims = 3<br>BinaryData = True<br>BinaryDataByteOrderMSB = False<br>Offset = 91.722 -142.335 861.784<br>ElementSpacing = 0.314453 0.314453 1<br>DimSize = 512 512 187<br>ElementType = MET_USHORT
<br>ElementDataFile = please.raw<br> </div>
<div>The header for the other image is </div>
<div> </div>
<div>ObjectType = Image<br>NDims = 3<br>BinaryData = True<br>BinaryDataByteOrderMSB = False<br>Offset = 50.245 -153.859 924.541<br>ElementSpacing = 0.449219 0.449219 3<br>DimSize = 512 512 37<br>ElementType = MET_USHORT<br>
ElementDataFile = please2.raw</div>
<div> </div>
<div>The computer has 1.5GB RAM</div>
<div> </div>
<div>thanks for your help</div>
<div> </div>
<div>Smriti<br> </div>
<div><br><br> </div>
<div><span class="gmail_quote">On 9/29/05, <b class="gmail_sendername">Luis Ibanez</b> <<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>Hi Smriti,<br><br>1) How big are your images ?<br>2) How much memory does your machine has ?<br><br>Please post the MetaImage headers to the list,
<br>so we can see the number of pixels along each<br>dimension, and the pixel type of your images.<br><br><br><br> Thanks<br><br><br> Luis<br><br><br><br>---------------------------<br>Smriti Raghunathan wrote:<br>
> Hi,<br>> I am using ImageRegistration8.cxx to register two 3D image sets. Both<br>> are CT images and both images are in .mhd format. However when I run the<br>> code, after it starts registration I get the following error:
<br>><br>> ExceptionObject caught !<br>><br>> itk::ExceptionObject <0104FCB0><br>> Location: "ImportImageContainer::AllocateElements"<br>> File: H:\ITK\ITK_SOURCE_DIR\Code\Common\itkImportImageContainer.txx
<br>> Line: 186<br>> Description: Failed to allocate memory for image<br>><br>><br>> I have tried running this code before on two other image sets but never<br>> got this error. So I am not sure why i might be getting this error this
<br>> time. Any help will be appreciated.<br>><br>> Thanks<br>><br>> Smriti<br>><br>><br>><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________
<br>> Insight-users mailing list<br>> <a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br>> <a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users
</a><br><br></blockquote></div><br>