1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: itkRegionGrowImageFilter.txx,v $
Language: C++
Date: $Date: 2004-10-27 01:08:44 $
Version: $Revision: 1.16 $
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#ifndef _itkRegionGrowImageFilter_txx
#define _itkRegionGrowImageFilter_txx
#include "itkRegionGrowImageFilter.h"
namespace itk
{
template<class TInputImage, class TOutputImage>
RegionGrowImageFilter<TInputImage,TOutputImage>
::RegionGrowImageFilter()
{
m_GridSize.Fill( 2 );
m_MaximumNumberOfRegions = 0;
}
template<class TInputImage, class TOutputImage>
RegionGrowImageFilter<TInputImage,TOutputImage>
::~RegionGrowImageFilter()
{
}
/*
* PrintSelf
*/
template <class TInputImage, class TOutputImage>
void
RegionGrowImageFilter<TInputImage,TOutputImage>
::PrintSelf(std::ostream& os, Indent indent) const
{
Superclass::PrintSelf(os,indent);
os << indent << "Region grow image filter object" << std::endl;
os << indent << "Maximum number of regions: " << m_MaximumNumberOfRegions << std::endl;
os << indent << "Maximum grid size : " << m_GridSize << std::endl;
}// end PrintSelf
} // namespace itk
#endif
|