<div>Hi Luis,</div>
<div>&nbsp; The header for one of the images is :</div>
<div>&nbsp;</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>&nbsp;</div>
<div>The header for the other image is </div>
<div>&nbsp;</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>&nbsp;</div>
<div>The computer has 1.5GB RAM</div>
<div>&nbsp;</div>
<div>thanks for your help</div>
<div>&nbsp;</div>
<div>Smriti<br>&nbsp;</div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 9/29/05, <b class="gmail_sendername">Luis Ibanez</b> &lt;<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>&gt; 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>&nbsp;&nbsp; Thanks<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Luis<br><br><br><br>---------------------------<br>Smriti Raghunathan wrote:<br>
&gt; Hi,<br>&gt;&nbsp;&nbsp;I am using ImageRegistration8.cxx to register two 3D image sets. Both<br>&gt; are CT images and both images are in .mhd format. However when I run the<br>&gt; code, after it starts registration I get the following error:
<br>&gt;<br>&gt; ExceptionObject caught !<br>&gt;<br>&gt; itk::ExceptionObject &lt;0104FCB0&gt;<br>&gt; Location: &quot;ImportImageContainer::AllocateElements&quot;<br>&gt; File: H:\ITK\ITK_SOURCE_DIR\Code\Common\itkImportImageContainer.txx
<br>&gt; Line: 186<br>&gt; Description: Failed to allocate memory for image<br>&gt;<br>&gt;<br>&gt; I have tried running this code before on two other image sets but never<br>&gt; got this error. So I am not sure why i might be getting this error this
<br>&gt; time. Any help will be appreciated.<br>&gt;<br>&gt; Thanks<br>&gt;<br>&gt; Smriti<br>&gt;<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________
<br>&gt; Insight-users mailing list<br>&gt; <a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br>&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users
</a><br><br></blockquote></div><br>