[Insight-users] DeformabeModel1

Wang, Liqin Wang.Liqin at mayo.edu
Thu May 3 18:37:41 EDT 2007


I have the similar  problem and not sure if this problem is solved or
not. Could any one help ??

Thanks a lot.

Liqin


----------searched from web and got the message as follow---

Hi Stephen,

Thank you very much your suggestion.  I tried it with the right file
format but still the same error.  Have you used this example
successfully?  If so, what would you recommend I use as input image and
mask (e.g. image type, dimensions, etc)?  Thank you again.

Akiko

-----Original Message-----
From: Stephen R. Aylward [mailto:HYPERLINK
"http://www.itk.org/mailman/listinfo/insight-users"aylward at unc.edu
<mailto:HYPERLINK> ] 
Sent: Wednesday, March 16, 2005 12:26 PM
To: Akiko Campbell
Cc: insight-users at itk.org
<http://www.itk.org/mailman/listinfo/insight-users> 
Subject: Re: [Insight-users] DeformableModel1.cxx problem

Hi,

One possible cause - the input image filename is "analyze.hdr" but the 
text your gave is a header in the MetaImage fileformat.

Try changing the filename for the input image to
"input.mhd" so that the IO factories will use the correct reader.

Stephen



Akiko Campbell wrote:
> I've noticed there have been some issues reported for 
> DeformableModel1.cxx and I would like to know if anyone has found the 
> solution.  My ITK is 2.0.0 from February 2005, running on Windows XP. 
> When I run this example, the code raises the following exception at: 
> deformableModelFilter->Update();
> 
>  
> 
> "Unhandled exception at 0x00473991 in DeformableModel1.exe:
0xC00000005: 
> Access violation reading location 0x00000034"
> 
>  
> 
> My inputs are:
> 
>  
> 
> * InputImage
> 
>  
> 
> analyze.hdr
> 
> NDims = 3
> 
> DimSize = 512 512 40
> 
> ElementSpacing = 0.388672 0.388672 2
> 
> Position = 0 0 0
> 
> ElementByteOrderMSB = 0
> 
> ElementType = MET_UCHAR
> 
> HeaderSize = -1
> 
> ElementDataFile = analyze.img
> 
>  
> 
> * BinaryImage
> 
>  
> 
> mask.mhd
> 
> NDims = 3
> 
> DimSize = 512 512 40
> 
> ElementSpacing = 0.388672 0.388672 2
> 
> Position = 0 0 0
> 
> ElementByteOrderMSB = 0
> 
> ElementType = MET_UCHAR
> 
> HeaderSize = -1
> 
> ElementDataFile = mask.raw
> 
>  
> 
>  
> 
> The output I get until the exception is raised is:
> 
>
************************************************************************
**************************************************************
> 
> The gradient map created!
> 
> Creating mesh...
> 
> Mesh (013B78D8)
> 
>   RTTI typeinfo:   class itk::Mesh<double,3,class 
> itk::DefaultStaticMeshTraits<double,3,3,float,float,double> >
> 
>   Reference Count: 2
> 
>   Modified Time: 424
> 
>   Debug: Off
> 
>   Observers: none
> 
>   Source: (013B53C8)
> 
>   Source output index: 0
> 
>   Release Data: Off
> 
>   Data Released: False
> 
>   Global Release Data: Off
> 
>   PipelineMTime: 415
> 
>   UpdateMTime: 425
> 
>   Number Of Points: 0
> 
>   Requested Number Of Regions: 1
> 
>   Requested Region: 0
> 
>   Buffered Region: 0
> 
>   Maximum Number Of Regions: 1
> 
>   Number Of Points: 0
> 
>   Number Of Cell Links: 0
> 
>   Number Of Cells: 0
> 
>   Size of Cell Data Container: 0
> 
>   Number of explicit cell boundary assignments: 3
> 
>   CellsAllocationMethod: 3
> 
> Deformable mesh created using Marching Cube!
> 
> Deformable mesh fitting...
> 
>    
> 
>    
> 
> If anyone could help me resolve this issue, I would really appreciate
it.
> 
>  
> 
> Akiko
> 
> 
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.7.3 - Release Date: 2005-03-15
> 
> 
>
------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
<http://www.itk.org/mailman/listinfo/insight-users> 
> http://www.itk.org/mailman/listinfo/insight-users

-- 
===========================================================
Dr. Stephen R. Aylward
Associate Professor of Radiology
Adjunct Associate Professor of Computer Science and Surgery
http://caddlab.rad.unc.edu
aylward at unc.edu <http://www.itk.org/mailman/listinfo/insight-users> 
(919) 966-9695

-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.3 - Release Date: 2005-03-15
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.3 - Release Date: 2005-03-15
 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070503/a6359a0a/attachment.htm


More information about the Insight-users mailing list