1 /*=========================================================================
2 Program: vv http://www.creatis.insa-lyon.fr/rio/vv
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
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.
13 It is distributed under dual licence
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
21 class vvSlicerManager;
23 class vvMaximumIntensityProjection
26 vvMaximumIntensityProjection(): mDimension(0) {};
27 ///Computes the MIP image on the given vvImage
28 void Compute(vvSlicerManager*);
29 vvImage::Pointer GetOutput() {return mOutputImage;};
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;