NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
itkScalarToRGBBIFPixelFunctor.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef itkScalarToRGBBIFPixelFunctor_h
16 #define itkScalarToRGBBIFPixelFunctor_h
17 
18 #include <itkRGBPixel.h>
19 
20 namespace itk {
21 
22 namespace Functor {
23 
31 template< class TScalar >
33 {
34 public:
37 
38  typedef unsigned char RGBComponentType;
39  typedef RGBPixel<RGBComponentType> RGBPixelType;
40  typedef TScalar ScalarType;
41 
42  RGBPixelType operator()( const TScalar &) const;
43 
44 private:
45 
46 };
47 
48 } // end namespace functor
49 
50 } // end namespace itk
51 
52 #ifndef ITK_MANUAL_INSTANTIATION
53 #include "itkScalarToRGBBIFPixelFunctor.txx"
54 #endif
55 
56 #endif
Definition: niftkITKAffineResampleImage.cxx:74
TScalar ScalarType
Definition: itkScalarToRGBBIFPixelFunctor.h:40
RGBPixel< RGBComponentType > RGBPixelType
Definition: itkScalarToRGBBIFPixelFunctor.h:39
Function object which maps a scalar value into an RGB pixel value for basic image feature images acco...
Definition: itkScalarToRGBBIFPixelFunctor.h:32
~ScalarToRGBBIFPixelFunctor()
Definition: itkScalarToRGBBIFPixelFunctor.h:36