]> Creatis software - clitk.git/blob - vv/vvMaximumIntensityProjection.h
added the new headers
[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() {};
27     ///Computes the MIP image on the given vvImage
28     void Compute(vvSlicerManager*);
29     vvImage::Pointer GetOutput() {return mOutputImage;};
30
31 protected:
32     template<class PixelType,int Dim> void Update_WithDimAndPixelType(vvImage::Pointer);
33     template<class PixelType> void Update_WithPixelType(vvImage::Pointer);
34     vvImage::Pointer mOutputImage;
35 };
36
37 #endif