X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvMaximumIntensityProjection.h;h=8f3770123d18816d8d180485d43efc3a9347d3d7;hb=8a5119c7e901c14be7da9750a375761b5a1252a4;hp=2d248b98aad1ec5125297c5f4ac656308303e988;hpb=0083c3fb2c66812489631c7551709d121de51625;p=clitk.git diff --git a/vv/vvMaximumIntensityProjection.h b/vv/vvMaximumIntensityProjection.h index 2d248b9..8f37701 100644 --- a/vv/vvMaximumIntensityProjection.h +++ b/vv/vvMaximumIntensityProjection.h @@ -1,3 +1,20 @@ +/*========================================================================= + Program: vv http://www.creatis.insa-lyon.fr/rio/vv + + Authors belong to: + - University of LYON http://www.universite-lyon.fr/ + - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr + + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the copyright notices for more information. + + It is distributed under dual licence + + - BSD See included LICENSE.txt file + - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +======================================================================-====*/ #ifndef vvMaximumIntensityProjection_h #define vvMaximumIntensityProjection_h #include "vvImage.h" @@ -6,15 +23,19 @@ class vvSlicerManager; class vvMaximumIntensityProjection { public: - vvMaximumIntensityProjection() {}; + vvMaximumIntensityProjection(): mDimension(0) {}; ///Computes the MIP image on the given vvImage void Compute(vvSlicerManager*); vvImage::Pointer GetOutput() {return mOutputImage;}; + bool error; protected: template void Update_WithDimAndPixelType(vvImage::Pointer); template void Update_WithPixelType(vvImage::Pointer); vvImage::Pointer mOutputImage; + //Dimension along which to compute the MIP + unsigned int mDimension; + vvSlicerManager * mCurrentSlicerManager; }; #endif