00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
#ifndef __itkHConvexImageFilter_h
00018
#define __itkHConvexImageFilter_h
00019
00020
#include "itkImageToImageFilter.h"
00021
00022
namespace itk {
00023
00042
template<
class TInputImage,
class TOutputImage>
00043 class ITK_EXPORT HConvexImageFilter :
00044
public ImageToImageFilter<TInputImage, TOutputImage>
00045 {
00046
public:
00048 typedef HConvexImageFilter
Self;
00049
typedef ImageToImageFilter<TInputImage, TOutputImage>
00050 Superclass;
00051 typedef SmartPointer<Self> Pointer;
00052 typedef SmartPointer<const Self> ConstPointer;
00053
00055 typedef TInputImage
InputImageType;
00056 typedef TOutputImage
OutputImageType;
00057 typedef typename InputImageType::Pointer
InputImagePointer;
00058 typedef typename InputImageType::ConstPointer
InputImageConstPointer;
00059 typedef typename InputImageType::RegionType
InputImageRegionType;
00060 typedef typename InputImageType::PixelType
InputImagePixelType;
00061 typedef typename OutputImageType::Pointer
OutputImagePointer;
00062 typedef typename OutputImageType::ConstPointer
OutputImageConstPointer;
00063 typedef typename OutputImageType::RegionType
OutputImageRegionType;
00064 typedef typename OutputImageType::PixelType
OutputImagePixelType;
00065
00067
itkStaticConstMacro(InputImageDimension,
unsigned int,
00068 TInputImage::ImageDimension);
00069
itkStaticConstMacro(OutputImageDimension,
unsigned int,
00070 TOutputImage::ImageDimension);
00071
00073
itkNewMacro(
Self);
00074
00076
itkTypeMacro(HConvexImageFilter,
00077
ImageToImageFilter);
00078
00083
itkSetMacro(Height,
InputImagePixelType);
00084
itkGetMacro(Height,
InputImagePixelType);
00085
00088
itkGetMacro(NumberOfIterationsUsed,
unsigned long);
00089
00090
protected:
00091 HConvexImageFilter();
00092 ~HConvexImageFilter() {};
00093
void PrintSelf(std::ostream& os,
Indent indent)
const;
00094
00098
void GenerateInputRequestedRegion() ;
00099
00101
void EnlargeOutputRequestedRegion(
DataObject *
itkNotUsed(output));
00102
00105
void GenerateData();
00106
00107
00108
private:
00109 HConvexImageFilter(
const Self&);
00110
void operator=(
const Self&);
00111
00112
InputImagePixelType m_Height;
00113
unsigned long m_NumberOfIterationsUsed;
00114 } ;
00115
00116 }
00117
00118
#ifndef ITK_MANUAL_INSTANTIATION
00119
#include "itkHConvexImageFilter.txx"
00120
#endif
00121
00122
#endif
00123
00124