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

« back to all changes in this revision

Viewing changes to Code/BasicFilters/itkHoughTransform2DCirclesImageFilter.h

  • 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: itkHoughTransform2DCirclesImageFilter.h,v $
5
5
  Language:  C++
6
 
  Date:      $Date: 2006-03-31 14:31:04 $
7
 
  Version:   $Revision: 1.11 $
 
6
  Date:      $Date: 2008-10-16 16:45:10 $
 
7
  Version:   $Revision: 1.12 $
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.
59
59
  typedef HoughTransform2DCirclesImageFilter Self;
60
60
 
61
61
  /** Input Image typedef */ 
62
 
  typedef Image<TInputPixelType,2> InputImageType;
63
 
  typedef typename InputImageType::Pointer InputImagePointer;
 
62
  typedef Image<TInputPixelType,2>              InputImageType;
 
63
  typedef typename InputImageType::Pointer      InputImagePointer;
64
64
  typedef typename InputImageType::ConstPointer InputImageConstPointer;
65
65
 
66
66
  /** Output Image typedef */
67
 
  typedef Image<TOutputPixelType,2> OutputImageType;
 
67
  typedef Image<TOutputPixelType,2>         OutputImageType;
68
68
  typedef typename OutputImageType::Pointer OutputImagePointer;
69
69
 
70
70
 
71
71
  /** Standard "Superclass" typedef. */
72
 
  typedef ImageToImageFilter< Image<TInputPixelType,2>
73
 
                              , Image<TOutputPixelType,2> >  Superclass;
 
72
  typedef ImageToImageFilter<
 
73
    Image<TInputPixelType,2>
 
74
    , Image<TOutputPixelType,2> >  Superclass;
74
75
 
75
76
  /** Smart pointer typedef support. */
76
77
  typedef SmartPointer<Self>        Pointer;
86
87
  typedef typename InputImageType::RegionType OutputImageRegionType;
87
88
 
88
89
  /** Circle typedef */
89
 
  typedef EllipseSpatialObject<2>       CircleType;
 
90
  typedef EllipseSpatialObject<2>      CircleType;
90
91
  typedef typename CircleType::Pointer CirclePointer;
91
92
  typedef std::list<CirclePointer>     CirclesListType;
92
93
 
185
186
  double m_MaximumRadius;
186
187
  double m_Threshold;
187
188
  double m_SigmaGradient;
 
189
 
188
190
  OutputImagePointer m_RadiusImage;
189
 
  CirclesListType m_CirclesList;
190
 
  unsigned int  m_NumberOfCircles;
191
 
  float         m_DiscRadiusRatio;
192
 
  float         m_Variance;
193
 
  unsigned long m_OldModifiedTime;
194
 
  unsigned long m_OldNumberOfCircles;
 
191
  CirclesListType    m_CirclesList;
 
192
  unsigned int       m_NumberOfCircles;
 
193
  float              m_DiscRadiusRatio;
 
194
  float              m_Variance;
 
195
  unsigned long      m_OldModifiedTime;
 
196
  unsigned long      m_OldNumberOfCircles;
195
197
 
196
198
};
197
199