Commit 2d917f0c authored by remi cresson's avatar remi cresson

REFAC: replace 'luminance' with 'radiance' in all files

parent aef8ac72
......@@ -38,8 +38,8 @@
// an optical multispectral image similar to Pleiades.
// These corrections are made in four steps :
// \begin{itemize}
// \item digital number to luminance correction;
// \item luminance to refletance image conversion;
// \item digital number to radiance correction;
// \item radiance to refletance image conversion;
// \item atmospheric correction for TOA (top of atmosphere) to TOC (top of canopy)
// reflectance estimation;
// \item correction of the adjacency effects taking into account the neighborhood contribution.
......@@ -61,7 +61,7 @@
// Let's look at the minimal code required to use this
// algorithm. First, the following header defining the
// \doxygen{otb}{AtmosphericCorrectionSequencement} class must be
// included. For the numerical to luminance image, luminance to
// included. For the numerical to radiance image, radiance to
// refletance image, and reflectance to atmospheric correction image
// corrections and the neighborhood correction, four header files are
// required.
......@@ -188,7 +188,7 @@ int main(int argc, char *argv[])
//
// Where :
// \begin{itemize}
// \item $\mathbf{L_{TOA}^{k}}$ is the incident luminance (in
// \item $\mathbf{L_{TOA}^{k}}$ is the incident radiance (in
// $W.m^{-2}.sr^{-1}.\mu m^{-1}$);
// \item $\mathbf{X^{k}}$ is the measured digital number (ie. the input image pixel component);
// \item $\alpha_{k}$ is the absolute calibration gain for the channel k;
......@@ -237,7 +237,7 @@ int main(int argc, char *argv[])
// The \doxygen{otb}{RadianceToReflectanceImageFilter}
// type is defined and instancied.
// This class used a functor applied to each component of each pixel
// of the luminance filter output ($\mathbf{L_{TOA}^{k}}$):
// of the radiance filter output ($\mathbf{L_{TOA}^{k}}$):
//
// \begin{equation}
// \rho_{TOA}^{k} = \frac{ \pi.\mathbf{L_{TOA}^{k}} } { E_{S}^{k}.cos(\theta_{S}).d/d_{0} }.
......
......@@ -84,8 +84,8 @@ private:
" may be innacurate and that techniques such as color space transform or image"
" normalisation could be applied before using this application. Also"
" note that most satellite images noise model is not gaussian, since"
" noise variance linearly depends on luminance (the higher the"
" luminance, the higher the noise variance). To account for such noise"
" noise variance linearly depends on radiance (the higher the"
" radiance, the higher the noise variance). To account for such noise"
" model, the application provides the range radius ramp option"
" (rangeramp), which will vary the range radius linearly with the"
" central pixel intensity. Default value is 1. (no ramp).\n\n"
......
......@@ -734,7 +734,7 @@ ImageFileReader<TOutputImage, ConvertPixelTraits>
// TODO:
// Pass down the PixelType (RGB, VECTOR, etc.) so that any vector to
// scalar conversion be type specific. i.e. RGB to scalar would use
// a formula to convert to luminance, VECTOR to scalar would use
// a formula to convert to radiance, VECTOR to scalar would use
// vector magnitude.
......
......@@ -88,9 +88,9 @@ private:
}
/** \class ImageToRadianceImageFilter
* \brief Convert a raw value into a luminance value
* \brief Convert a raw value into a radiance value
*
* Transform a classical image into the luminance image. For this it
* Transform a classical image into the radiance image. For this it
* uses the functor ImageToRadianceImageFunctor calling for each component of each pixel.
*
*
......
......@@ -89,9 +89,9 @@ private:
}
/** \class RadianceToImageImageFilter
* \brief Convert a raw value into a luminance value
* \brief Convert a raw value into a radiance value
*
* Transform a luminance image into a classical image. For this it
* Transform a radiance image into a classical image. For this it
* uses the functor RadianceToImageImageFunctor calling for each component of each pixel.
*
*
......
......@@ -34,7 +34,7 @@ namespace Functor
{
/**
* \class RadianceToReflectanceImageFunctor
* \brief Compupute reflectance from the luminance value
* \brief Compupute reflectance from the radiance value
*
* Multiply by Pi and by an illumination correction coefficient the
* quotient between the input and the given solar illumination.
......@@ -113,9 +113,9 @@ private:
}
/** \class RadianceToReflectanceImageFilter
* \brief Convert luminance value into reflectance value
* \brief Convert radiance value into reflectance value
*
* Transform a luminance image into the reflectance. For this it uses the
* Transform a radiance image into the reflectance. For this it uses the
* functor RadianceToReflectanceImageFunctor calling for each component of each pixel.
*
*
......
......@@ -35,7 +35,7 @@ namespace Functor
{
/**
* \class ReflectanceToRadianceImageFunctor
* \brief Compupute luminance from the reflectance value
* \brief Compupute radiance from the reflectance value
*
* Divide by Pi and multiply by an illumination correction coefficient
* and the given solar illumination.
......@@ -98,9 +98,9 @@ private:
}
/** \class ReflectanceToRadianceImageFilter
* \brief Convert reflectance value into luminance value
* \brief Convert reflectance value into radiance value
*
* Transform a reflectance image into the luminance. For this it uses the
* Transform a reflectance image into the radiance. For this it uses the
* functor ReflectanceToRadianceImageFunctor calling for each component of each pixel.
*
*
......
......@@ -18,7 +18,7 @@
# limitations under the License.
#
set(DOCUMENTATION "Digital number to luminance correction. luminance to
set(DOCUMENTATION "Digital number to radiance correction. radiance to
refletance image conversion. atmospheric correction for TOA (top of atmosphere) to TOC
(top of canopy) reflectance estimation. correction of the adjacency effects taking
into account the neighborhood contribution.")
......
......@@ -39,7 +39,7 @@ namespace otb
* compute the satellite spectral bands.
*
* There are 2 operating modes:
* - luminance mode (default): integrates the spectral response over each band
* - radiance mode (default): integrates the spectral response over each band
* - reflectance mode (needs to call SetReflectanceMode(true)): takes into account
* the solar irradiance in the integration
*
......@@ -154,7 +154,7 @@ private:
/** the computed response */
InputSpectralResponsePointerType m_ReduceResponse;
/** Choose between reflectance or luminance mode */
/** Choose between reflectance or radiance mode */
bool m_ReflectanceMode;
};
......
......@@ -109,7 +109,7 @@ ReduceSpectralResponse<TSpectralResponse , TRSR>
/*
In order to simplify the computation for the reflectance mode,
we introduce the solar irradiance in the general formula with
a value of 1.0 for the luminance case.
a value of 1.0 for the radiance case.
In this way the formula is the same if we weight the RSR by
the solar irradiance before the integration.
......
......@@ -62,7 +62,7 @@ int otbReduceSpectralResponse(int argc, char * argv[])
myReduceResponse->SetInputSatRSR(myRSR);
/** Load the spectral response of the object in the simulator*/
myReduceResponse->SetInputSpectralResponse(mySpectralResponse);
/** Set the reflectance or luminance mode */
/** Set the reflectance or radiance mode */
myReduceResponse->SetReflectanceMode(reflectanceMode);
myReduceResponse->CalculateResponse();
/** Print the Reduce SR*/
......@@ -194,7 +194,7 @@ int otbReduceSpectralResponseSimpleValues(int argc, char * argv[])
if(fabs(b0Result-b0Expected)>tolerance)
{
std::cout << "Wrong value for B0: expected eq. luminance = " << b0Expected
std::cout << "Wrong value for B0: expected eq. radiance = " << b0Expected
<< "; got " << b0Result
<< std::endl;
return EXIT_FAILURE;
......@@ -207,7 +207,7 @@ int otbReduceSpectralResponseSimpleValues(int argc, char * argv[])
if(fabs(b1Result-b1Expected)>tolerance)
{
std::cout << "Wrong value for B1: expected eq. luminance = " << b1Expected
std::cout << "Wrong value for B1: expected eq. radiance = " << b1Expected
<< "; got " << b1Result
<< std::endl;
return EXIT_FAILURE;
......
......@@ -1121,7 +1121,7 @@ HTML_COLORSTYLE_HUE = 220
HTML_COLORSTYLE_SAT = 100
# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the
# luminance component of the colors in the HTML output. Values below 100
# radiance component of the colors in the HTML output. Values below 100
# gradually make the output lighter, whereas values above 100 make the output
# darker. The value divided by 100 is the actual gamma applied, so 80 represents
# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment