SCIRun User Mailing List

Text archives Help


[SCIRUN-USERS] Re: Re: SCIRun 3.1.0 with ITK 3.6.0


Chronological Thread 
  • From: Luis Ibanez <luis.ibanez@kitware.com>
  • To: scirun-users@sci.utah.edu
  • Subject: [SCIRUN-USERS] Re: Re: SCIRun 3.1.0 with ITK 3.6.0
  • Date: Wed, 11 Jun 2008 16:51:56 -0400


Hi Michael,

As you pointed out,
this method name changed just before the release of ITK 3.6:

http://www.itk.org/cgi-bin/viewcvs.cgi/Code/Common/itkImage.h?root=Insight&r1=1.142&r2=1.143


Simply replace in your code any instance of :

  TransformLocalVectorToPhysicalVector

with

  RotateArrayByDirectionCosines

That's probably the name that you were looking for before,
[but that is now deprecated].


This method was added on October 8th 2007:
http://www.itk.org/cgi-bin/viewcvs.cgi/Code/Common/itkImage.h?root=Insight&view=diff&r1=1.138&r2=1.139

which was the development period between ITK 3.4 and ITK 3.6

  ITK 3.4 was release on Sept 23 2007
  ITK 3.6 was release on Apr  14 2008


Hope this helps,


  Regards,


    Luis


---------------------------
Michael Callahan wrote:
ITK 3.6 is newer than SCIRun 3.1.0 and I believe that filter changed a
little and the older SCIRun code isn't updated yet.  The two easy fixes
would be to 1) Use an older ITK or 2) Comment out that line in
GradientRecursiveGaussianImageFilter and just disable that module.

I'll look into what it takes to fix the code directly, but that will
result in either a patch or a dev version of SCIRun.

  Michael

On Tue, 2008-06-10 at 17:11 -0700, Ian Miller wrote:

I am having a hard time building the most recent release of SCIRun
(3.1.0) against the InsightToolkit 3.6.0.
I am running Kubuntu on an i386 32-bit machine.

My compile errors happen after successfully compiling ITK, late in the
make process for SCIRun.

Is this a problem with versions, or am I doing something wrong?

Build vomit follows.

ian

Scanning dependencies of target
Packages_Insight_Dataflow_Modules_Filters
[ 96%] Building CXX object
Dataflow/Insight/Dataflow/Modules/Filters/CMakeFiles/Packages_Insight_Dataflow_Modules_Filters.dir/GeodesicActiveContourLevelSetImageFilter.o
[ 96%] Building CXX object
Dataflow/Insight/Dataflow/Modules/Filters/CMakeFiles/Packages_Insight_Dataflow_Modules_Filters.dir/GradientRecursiveGaussianImageFilter.o
/home/ian/SCIRun/thirdparty.bin/3.1.0/Linux/gcc-4.2.3-32bit/include/InsightToolkit/BasicFilters/itkGradientRecursiveGaussianImageFilter.txx:
 In member function 'void itk::GradientRecursiveGaussianImageFilter<TInputImage, 
TOutputImage>::GenerateData() [with TInputImage = itk::Image<float, 2u>, TOutputImage = 
itk::Image<itk::Vector<float, 3u>, 2u>]':
/home/ian/SCIRun/src/Packages/Insight/Dataflow/Modules/Filters/GradientRecursiveGaussianImageFilter.cc:234:
   instantiated from here
/home/ian/SCIRun/thirdparty.bin/3.1.0/Linux/gcc-4.2.3-32bit/include/InsightToolkit/BasicFilters/itkGradientRecursiveGaussianImageFilter.txx:279:
 error: no matching function for call to 'itk::Image<float, 
2u>::TransformLocalVectorToPhysicalVector(constitk::Vector<float, 3u>&, 
itk::Vector<float, 3u>&) const'
make[2]: ***
[Dataflow/Insight/Dataflow/Modules/Filters/CMakeFiles/Packages_Insight_Dataflow_Modules_Filters.dir/GradientRecursiveGaussianImageFilter.o]
 Error 1
make[1]: ***
[Dataflow/Insight/Dataflow/Modules/Filters/CMakeFiles/Packages_Insight_Dataflow_Modules_Filters.dir/all]
 Error 2
make: *** [all] Error 2







Archive powered by MHonArc 2.6.16.

Top of page