SCIRun User Mailing List

Text archives Help


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


Chronological Thread 
  • From: Ian Miller <ian_o_miller@yahoo.com>
  • To: scirun-users@sci.utah.edu
  • Subject: [SCIRUN-USERS] Re: Re: Re: Re: SCIRun 3.1.0 with ITK 3.6.0
  • Date: Wed, 11 Jun 2008 16:32:44 -0700 (PDT)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=4B6Y/6/wgzbG1HWGTb2so0s93hkZJKXt7jXpx1fW/Hx+SmO59aJ09NjspLk5+tmlC3UIacUxNMgqHYG/mEk60wUv25gPCKpKIsjyGDe352H1X2H8wxSfTA9rCtE8fhNMLmv9/o4xuNJgRvduUUoQ0RXA+9oDALHRqxUPn7Fk6Lw=;

Very helpful. Thank you both for your input.

I built against 3.4.0 before I checked my email, and it completed without any difficulty.

I will take a look at the functions Luis mentioned, and see if I can fix the problem.

Cheers,
ian

--- On Wed, 6/11/08, Michael Callahan <callahan@sci.utah.edu> wrote:
From: Michael Callahan <callahan@sci.utah.edu>
Subject: [SCIRUN-USERS] Re: Re: Re: SCIRun 3.1.0 with ITK 3.6.0
To: scirun-users@sci.utah.edu
Date: Wednesday, June 11, 2008, 5:07 PM

SCIRun doesn't actually call TransformLocalVectorToPhysicalVector, it is
called by the itkGradientRecursiveGaussianImageFilter.txx code over on
the ITK side. They probably didn't clean all of those up properly. If
that is the case then you will want to do that replacement in the ITK
source code or simply comment out that filter from your SCIRun code.

Michael

On Wed, 2008-06-11 at 16:51 -0400, Luis Ibanez wrote:
> 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