[Insight-users] Setting fixed image

tony hakki tony2007vtk at yahoo.com
Thu Feb 22 15:21:27 EST 2007


I want to add the definition of mesh:
typedef itk::Mesh<
vtkFloatingPointType, 
PointDimension, 
MeshTraits > MeshType;
MeshType::Pointer mesh = MeshType::New();



----- Original Message ----
From: Christoph Palm <christoph.palm at web.de>
To: tony hakki <tony2007vtk at yahoo.com>
Sent: Thursday, February 22, 2007 6:56:11 PM
Subject: Re: [Insight-users] Setting fixed image


Hi Tony,

the error message as result of the first try seems to be clear:
GetOutput() is a function e.g. of a filter, not of a object like
image or mesh. What happens, if you try your second suggestion?
How is your mesh generated?

-- Christoph

On Thu, 2007-02-22 at 07:38 -0800, tony hakki wrote:
> Hello dear ITK users;
> I would like to set fixed image when implement a pointset to image
> registration.
> I Try like that;
> registrationMethod->SetFixedPointSet(mesh->GetOutput()); //mesh is itk
> mesh
> 
>  I also tried like that;
> 
> registrationMethod->SetFixedPointSet(mesh);
> 
>  
> 
> It gives that error:
> 
> >c:\documents and settings\aydemir\desktop\itktovtk\teste.cpp(366) :
> error C2039: 'GetOutput' : is not a member of
> 'itk::Mesh<TPixelType,VDimension,TMeshTraits>'
> 
> 1> with
> 
> 1> [
> 
> 1> TPixelType=vtkFloatingPointType,
> 
> 1> VDimension=3,
> 
> 1> TMeshTraits=MeshTraits
> 
> 1> ]
> 
>  
> 
> How Can I set fixed image using itk mesh format. I hope somebody will
> help me. Thank you very much
> 
> Tony

> 

www.chripa.de/AtWork
----


 
____________________________________________________________________________________
The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070222/e1699115/attachment.html


More information about the Insight-users mailing list