[Insight-users] instead of ResampleImageFilter (please urgent
help)
tony hakki
tony2007vtk at yahoo.com
Wed Jan 31 04:53:36 EST 2007
Hi Luis;
my project includes many headers which are created before by my friend. The error is so strange ,I met an error before what I have met now,it was a variable overlapping problem ,one variable,X,is defined as zero, in another header file. So it was overlapping with X variable from VTK's original header file.
TriangleCellType * tcell = new TriangleCellType; //when I added that line it was giving error which reason was overlapping. I have already solved that
I solved first problem by putting at the beginning of my codes :
#undef X
#define X 0
But Now I met one of same error when I add that line
ResampleFilterType::Pointer resampler = ResampleFilterType::New();
This gives 35 Errors and I haven't found which variable is reason of it.
this is the first error of 35:
c:\programme\itk\itk-src-windows\code\common\itkimagetoimagefilter.h(90) : error C2039: 'ImageDimension' : is not a member of 'itk::PointSet<TPixelType,VDimension,TMeshTraits>'
1> with
1> [
1> TPixelType=float,
1> VDimension=3,
1> TMeshTraits=itk::DefaultStaticMeshTraits<float,3,3>
1> ]
1> c:\programme\itk\itk-src-windows\code\basicfilters\itkresampleimagefilter.h(74) : see reference to class template instantiation 'itk::ImageToImageFilter<TInputImage,TOutputImage>' being compiled
1> with
1> [
1> TInputImage=MovingImageType,
1> TOutputImage=FixedPointSetType
1> ]
When I clicked on 'ImageDimension' right of mouse then I click Go to location It goes "itkImageToImageFilter.h" and shows that line :
itkStaticConstMacro(OutputImageDimension, unsigned int,
TOutputImage::ImageDimension);
----- Original Message ----
From: Luis Ibanez <luis.ibanez at kitware.com>
To: tony hakki <tony2007vtk at yahoo.com>
Cc: insight-users at itk.org
Sent: Wednesday, January 31, 2007 12:30:09 AM
Subject: Re: [Insight-users] instead of ResampleImageFilter (please urgent help)
Hi Tony,
What exactly was the error that you encountered ?
Thanks
Luis
------------------------
tony hakki wrote:
> I made a registration one is stl data and the other is .raw extension
> 3D data
>
> ----- Original Message ----
> From: tony hakki <tony2007vtk at yahoo.com>
> To: insight-users at itk.org
> Sent: Tuesday, January 30, 2007 4:53:56 PM
> Subject: instead of ResampleImageFilter (please urgent help)
>
> Hi all;
> I met a strange error when I use ResampleImageFilter, I just want to use
> another resampling filter instead of ResampleImageFilter. Is there
> anyone who knows if there is another class instead of this.
>
> Thank you
> Tony
>
> ------------------------------------------------------------------------
> Don't pick lemons.
> See all the new 2007 cars
> <http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE0OGRsc3F2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3Y2Fycw-->
> at Yahoo! Autos.
> <http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE0OGRsc3F2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3Y2Fycw-->
>
>
> ------------------------------------------------------------------------
> Now that's room service! Choose from over 150,000 hotels
> in 45,000 destinations on Yahoo! Travel
> <http://travel.yahoo.com/hotelsearchpage;_ylc=X3oDMTFtaTIzNXVjBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzIEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw--
> > to find your fit.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070131/1478d767/attachment.html
More information about the Insight-users
mailing list