Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00031 #ifndef __vtkKWEImageFDKFilter_h
00032 #define __vtkKWEImageFDKFilter_h
00033
00034
00035 #include "vtkImageAlgorithm.h"
00036 #include "VTKEdgeConfigure.h"
00037
00038 class vtkDoubleArray;
00039
00040
00041 class VTKEdge_IMAGING_EXPORT vtkKWEImageFDKFilter : public vtkImageAlgorithm
00042 {
00043 public:
00044 static vtkKWEImageFDKFilter *New();
00045 vtkTypeRevisionMacro(vtkKWEImageFDKFilter,vtkImageAlgorithm);
00046 void PrintSelf(ostream& os, vtkIndent indent);
00047
00049
00051 vtkSetMacro(Radius,float);
00052 vtkGetMacro(Radius,float);
00054
00056
00057 vtkGetObjectMacro(Angles, vtkDoubleArray);
00059
00060 protected:
00061 vtkKWEImageFDKFilter();
00062 ~vtkKWEImageFDKFilter();
00063
00064 float Radius;
00065 vtkDoubleArray * Angles;
00066
00067
00068
00069 virtual int RequestInformation (vtkInformation *vtkNotUsed(request),
00070 vtkInformationVector **inputVector,
00071 vtkInformationVector *outputVector);
00072
00073 virtual int RequestData(vtkInformation *,
00074 vtkInformationVector **,
00075 vtkInformationVector *);
00076
00077 void GenerateWeightingFunction(int projExt[6]);
00078 void ApplyWeightingFunction(int row, int slice, vtkImageData * projection, vtkImageData * output);
00079 void GenerateFilter(float * filter, int order);
00080
00081 private:
00082 vtkKWEImageFDKFilter(const vtkKWEImageFDKFilter&);
00083 void operator=(const vtkKWEImageFDKFilter&);
00084
00085 vtkImageData * WeightFunction;
00086 };
00087
00088 #endif
00089
00090
00091
00092
00093
00094
00095