Skip to content
Snippets Groups Projects
Commit 086b4fd7 authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

Ajout de classes de Radiometrie : image->Luminance, image->Reflectance et luminance->reflectance.

+ création de la classe UnaryImageucntorWithVectorImage qui permet de travail avec des images vecteur et un functor prennant des InternalPixelType.
parent e8dbe101
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,12 @@ namespace otb
{
namespace Functor
{
/** Functor::ImageToLuminanceImageFunctor
* Add beta to the quotient Input over alpha.
*
* \ingroup Functor
*/
template <class TInput, class TOutput>
class ImageToLuminanceImageFunctor
{
......@@ -64,7 +70,11 @@ namespace otb
};
}
/** \class ImageToLuminanceImageFilter
* \brief Transform a classical image into the luminance image. For this it uses the functor ImageToLuminanceImageFunctor calling for each component of each pixel.
*
* \ingroup ImageToLuminanceImageFunctor
*/
template <class TInputImage, class TOutputImage>
class ITK_EXPORT ImageToLuminanceImageFilter :
public UnaryImageFunctorWithVectorImageFilter< TInputImage,
......@@ -73,7 +83,7 @@ public UnaryImageFunctorWithVectorImageFilter< TInputImage,
ITK_TYPENAME TOutputImage::InternalPixelType > >
{
public:
/** Extract input and output images dimensions.*/
/** Extract input and output images dimensions.*/
itkStaticConstMacro( InputImageDimension, unsigned int, TInputImage::ImageDimension);
itkStaticConstMacro( OutputImageDimension, unsigned int, TOutputImage::ImageDimension);
......
/*=========================================================================
Program: ORFEO Toolbox
......
......@@ -35,6 +35,13 @@ namespace otb
{
namespace Functor
{
/** Functor::ImageToReflectanceImageFunctor
* Call the ImageToLuminanceFunctor over the input and the LuminanceToReflectanceFunctor to this result.
*
* \ingroup Functor
* \ingroup ImageToLuminanceFunctor
* \ingroup LuminanceToReflectanceFunctor
*/
template <class TInput, class TOutput>
class ImageToReflectanceImageFunctor
{
......@@ -78,7 +85,13 @@ namespace otb
};
}
/** \class ImageToReflectanceImageFilter
* \brief Transform a classical image into the reflectance image. For this it uses the functor ImageToReflectanceFunctor calling for each component of each pixel.
*
* \ingroup ImageToReflectanceImageFunctor
* \ingroup ImageToLuminanceImageFilter
* \ingroup ReflectanceToLuminanceImageFilter
*/
template <class TInputImage, class TOutputImage>
class ITK_EXPORT ImageToReflectanceImageFilter :
public UnaryImageFunctorWithVectorImageFilter< TInputImage,
......
......@@ -34,6 +34,11 @@ namespace otb
{
namespace Functor
{
/** Functor::LuminanceToReflectanceImageFunctor
* Multiply by Pi and by an illumination correction coefficient the qutient between the input and the given solar illumination.
*
* \ingroup Functor
*/
template <class TInput, class TOutput>
class LuminanceToReflectanceImageFunctor
{
......@@ -68,7 +73,12 @@ namespace otb
};
}
/** \class LuminanceToReflectanceImageFilter
* \brief Transform a luminance image into the reflectance. For this it uses the functor LuminanceToReflectanceImaeFunctor
* calling for each component of each pixel.
*
* \ingroup ImageToLuminanceImageFunctor
*/
template <class TInputImage, class TOutputImage>
class ITK_EXPORT LuminanceToReflectanceImageFilter :
public UnaryImageFunctorWithVectorImageFilter< TInputImage,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment