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

« back to all changes in this revision

Viewing changes to Code/Algorithms/itkCoreAtomImageToUnaryCorrespondenceMatrixProcess.txx

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2008-12-19 20:16:49 UTC
  • mfrom: (1.2.1 upstream) (4.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20081219201649-drt97guwl2ryt0cn

* New upstream version.
  - patches/nifti-versioning.patch: Remove.  Applied upstream.
  - control:
  - rules: Update version numbers, package names.

* control: Build-depend on uuid-dev (gdcm uses it).

* copyright: Update download URL.

* rules: Adhere to parallel=N in DEB_BUILD_OPTIONS by setting MAKEFLAGS.

* compat: Set to 7.
* control: Update build-dep on debhelper to version >= 7.

* CMakeCache.txt.debian: Set CMAKE_BUILD_TYPE to "RELEASE" so that we
  build with -O3 (not -O2), necessary to optimize the templated code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
  Program:   Insight Segmentation & Registration Toolkit
4
4
  Module:    $RCSfile: itkCoreAtomImageToUnaryCorrespondenceMatrixProcess.txx,v $
5
5
  Language:  C++
6
 
  Date:      $Date: 2004-12-21 22:47:26 $
7
 
  Version:   $Revision: 1.5 $
 
6
  Date:      $Date: 2008-10-23 16:15:23 $
 
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.
204
204
    MedialNodeType* pPixelA = &bloxItA.Value();
205
205
 
206
206
    if( pPixelA->empty() )
 
207
      {
207
208
      continue;
 
209
      }
208
210
 
209
211
    // Iterate through nodes in m_CoreAtomImageB (columns)
210
212
    for ( bloxItB.GoToBegin(); !bloxItB.IsAtEnd(); ++bloxItB) //iterate through nodes in m_MedialWindowA
212
214
      MedialNodeType* pPixelB = &bloxItB.Value();
213
215
 
214
216
      if( pPixelB->empty() )
 
217
        {
215
218
        continue;
 
219
        }
216
220
 
217
221
      m_Metric->SetMedialNodes(pPixelA, pPixelB);
218
222
      m_Metric->Initialize();