~ubuntu-branches/ubuntu/precise/insighttoolkit/precise

« back to all changes in this revision

Viewing changes to Code/BasicFilters/itkHessian3DToVesselnessMeasureImageFilter.txx

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2008-05-31 12:07:29 UTC
  • mfrom: (3.1.3 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080531120729-7g7layn480le43ko
Tags: 3.6.0-3
* debian/patches/gccxml-workaround.patch: New.  Work around gccxml issue
  with #include_next; c.f. http://www.gccxml.org/Bug/view.php?id=7134.  
* debian/patches/gcc43.patch: include <cstring> in itkNeighbourhood.h.
  This only showed up in the tcl wrapping step.

* Above two entries fix FTBFS for GCC 4.3-based systems.
  Closes: #478500.

* debian/patches/sharedforward.patch: New.  Ensure that linux/sparc
  systems are not also configured as a SUN sparc system, which requires
  SUN header sys/isa_defs.h.  Closes: #478940, #483312.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
  Program:   Insight Segmentation & Registration Toolkit
4
4
  Module:    $RCSfile: itkHessian3DToVesselnessMeasureImageFilter.txx,v $
5
5
  Language:  C++
6
 
  Date:      $Date: 2006/09/26 11:59:28 $
7
 
  Version:   $Revision: 1.5 $
 
6
  Date:      $Date: 2008-01-19 19:50:01 $
 
7
  Version:   $Revision: 1.6 $
8
8
 
9
9
  Copyright (c) Insight Software Consortium. All rights reserved.
10
10
  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
56
56
  typename OutputImageType::Pointer output = this->GetOutput();
57
57
 
58
58
  typedef typename EigenAnalysisFilterType::OutputImageType
59
 
                                                    EigenValueImageType;
 
59
    EigenValueOutputImageType;
60
60
 
61
61
  m_SymmetricEigenValueFilter->Update();
62
62
  
63
 
  const typename EigenValueImageType::ConstPointer eigenImage = 
 
63
  const typename EigenValueOutputImageType::ConstPointer eigenImage = 
64
64
                    m_SymmetricEigenValueFilter->GetOutput();
65
65
  
66
66
  // walk the region of eigen values and get the vesselness measure
67
67
  EigenValueArrayType eigenValue;
68
 
  ImageRegionConstIterator<EigenValueImageType> it;
69
 
  it = ImageRegionConstIterator<EigenValueImageType>(
 
68
  ImageRegionConstIterator<EigenValueOutputImageType> it;
 
69
  it = ImageRegionConstIterator<EigenValueOutputImageType>(
70
70
      eigenImage, eigenImage->GetRequestedRegion());
71
71
  ImageRegionIterator<OutputImageType> oit;
72
72
  this->AllocateOutputs();