]> Creatis software - clitk.git/blob - vv/vvMaximumIntensityProjection.h
Disabled NKI transform function
[clitk.git] / vv / vvMaximumIntensityProjection.h
1 /*=========================================================================
2   Program:   vv                     http://www.creatis.insa-lyon.fr/rio/vv
3
4   Authors belong to: 
5   - University of LYON              http://www.universite-lyon.fr/
6   - Léon Bérard cancer center       http://oncora1.lyon.fnclcc.fr
7   - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
8
9   This software is distributed WITHOUT ANY WARRANTY; without even
10   the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11   PURPOSE.  See the copyright notices for more information.
12
13   It is distributed under dual licence
14
15   - BSD        See included LICENSE.txt file
16   - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ======================================================================-====*/
18 #ifndef vvMaximumIntensityProjection_h
19 #define vvMaximumIntensityProjection_h
20 #include "vvImage.h"
21 class vvSlicerManager;
22
23 class vvMaximumIntensityProjection
24 {
25 public:
26     vvMaximumIntensityProjection(): mDimension(0) {};
27     ///Computes the MIP image on the given vvImage
28     void Compute(vvSlicerManager*);
29     vvImage::Pointer GetOutput() {return mOutputImage;};
30     bool error;
31
32 protected:
33     template<class PixelType,int Dim> void Update_WithDimAndPixelType(vvImage::Pointer);
34     template<class PixelType> void Update_WithPixelType(vvImage::Pointer);
35     vvImage::Pointer mOutputImage;
36     //Dimension along which to compute the MIP
37     unsigned int mDimension;
38   vvSlicerManager * mCurrentSlicerManager;
39 };
40
41 #endif