Isis 3 Programmer Reference
|
Mixed albedo/topo normalization without atmosphere. More...
#include <Mixed.h>
Public Member Functions | |
Mixed (Pvl &pvl, PhotoModel &pmodel) | |
std::string | AlgorithmName () const |
Return normalization algorithm name. | |
void | CalcNrmAlbedo (double pha, double inc, double ema, double dn, double &albedo, double &mult, double &base) |
Calculate the albedo normalization. | |
void | CalcNrmAlbedo (double pha, double inc, double ema, double deminc, double demema, double dn, double &albedo, double &mult, double &base) |
Calculate the normalization albedo using photometric angle information. | |
virtual void | SetNormWavelength (double wavelength) |
Set the wavelength parameter. | |
Protected Member Functions | |
virtual void | NormModelAlgorithm (double pha, double inc, double ema, double dn, double &albedo, double &mult, double &base) |
virtual void | NormModelAlgorithm (double pha, double inc, double ema, double deminc, double demema, double dn, double &albedo, double &mult, double &base) |
void | SetAlgorithmName (std::string name) |
PhotoModel * | GetPhotoModel () |
AtmosModel * | GetAtmosModel () |
Protected Attributes | |
double | p_normWavelength |
Private Member Functions | |
void | SetNormPharef (const double pharef) |
Set parameters needed for albedo normalization. | |
void | SetNormIncref (const double incref) |
Set the normalization function parameter. | |
void | SetNormEmaref (const double emaref) |
Set the normalization function parameter. | |
void | SetNormPhamat (const double phamat) |
Set the normalization function parameter. | |
void | SetNormIncmat (const double incmat) |
Set the normalization function parameter. | |
void | SetNormEmamat (const double emamat) |
Set the normalization function parameter. | |
void | SetNormThresh (const double thresh) |
Set the normalization function parameter. | |
void | SetNormAlbedo (const double albedo) |
Set the normalization function parameter. | |
Private Attributes | |
double | p_psurfmatch |
double | p_pprimematch |
double | p_anum |
double | p_rhobar |
double | p_psurfref |
double | p_normPharef |
double | p_normIncref |
double | p_normEmaref |
double | p_normThresh |
double | p_normPhamat |
double | p_normIncmat |
double | p_normEmamat |
double | p_normAlbedo |
std::string | p_normAlgorithmName |
PhotoModel * | p_normPM |
AtmosModel * | p_normAM |
Mixed albedo/topo normalization without atmosphere.
This mode will do albedo normalization over most of the planet but near the terminator it will normalize topographic contrast to avoid the "seams" we are currently getting with the plain albedo normalization. The two effects will be joined seamlessly. In addition to the parameters for no-atmosphere albedo normaliza- tion (i.e., the photometric parameters and the choice of angles for normal albedo calculation) this mode needs two more parameters. INCMAT is the incidence angle at which the RMS contrast from al- bedo matches the RMS contrast from topography. (Could input a full 3-angle geometry at which the contrasts are equal but since the user is probably going to find this parameter by trial and er- ror it's easier to specify only incidence and use emission=0, phase=incidence for this second reference state.) ALBEDO, the av- erage normal albedo, is also needed.
2007-07-31 Steven Lambright - Refactored code
2008-03-07 Janet Barrett - Changed name of Incmatch variable to Incmat
2010-11-10 Janet Barrett - Added reference parameters for phase and emission so user can specify normalization conditions in initialization - also added match parameters for phase and emission for the same reason
2010-11-30 Janet Barrett - Added ability to use photometric angles from the ellipsoid or the DEM
Isis::Mixed::Mixed | ( | Pvl & | pvl, |
PhotoModel & | pmodel ) |
|
inlineinherited |
Return normalization algorithm name.
Definition at line 43 of file NormModel.h.
|
inherited |
Calculate the normalization albedo using photometric angle information.
pha | input phase angle |
inc | input incidence angle for ellipsoid |
ema | input emission angle for ellipsoid |
deminc | input incidence angle for dem |
demema | input emission angle for dem |
dn | input albedo value |
Definition at line 89 of file NormModel.cpp.
|
inherited |
Calculate the albedo normalization.
Calculate the normalization albedo using photometric angle information.
pha | input phase angle |
inc | input incidence angle |
ema | input emission angle |
dn | input albedo value |
Definition at line 64 of file NormModel.cpp.
Referenced by Isis::Photometry::Compute(), and Isis::Photometry::Compute().
|
inlineprotectedinherited |
Definition at line 69 of file NormModel.h.
|
inlineprotectedinherited |
Definition at line 66 of file NormModel.h.
|
protectedvirtual |
Implements Isis::NormModel.
|
inlineprotectedvirtual |
Implements Isis::NormModel.
|
inlineprotectedinherited |
Definition at line 63 of file NormModel.h.
|
private |
|
private |
Set the normalization function parameter.
The image will be normalized so that albedo variations are constant for small emission angles and topographic shading is constant for large emission angles. The transition from albedo normalization to emission normalization occurs around the emission angle represented by this parameter. This parameter is limited to values that are >=0 and <90.
emamat | Normalization function parameter |
|
private |
|
private |
Set the normalization function parameter.
The image will be normalized so that albedo variations are constant for small incidence angles and topographic shading is constant for large incidence angles. The transition from albedo normalization to incidence normalization occurs around the incidence angle represented by this parameter. This parameter is limited to values that are >=0 and <90.
incmat | Normalization function parameter |
|
private |
|
private |
Set the normalization function parameter.
The image will be normalized so that albedo variations are constant for small phase angles and topographic shading is constant for large phase angles. The transition from albedo normalization to phase normalization occurs around the phase angle represented by this parameter. This parameter is limited to values that are >=0 and <180.
phamat | Normalization function parameter |
|
private |
Set parameters needed for albedo normalization.
Set the normalization function parameter.
This is the reference phase angle to which the image photometry will be normalized. This parameter is limited to values that are >=0 and <180.
pharef | Normalization function parameter, default is 0.0 |
|
private |
Set the normalization function parameter.
It is used to amplify variations in the input image in regions of small incidence angle where the shading in the input image is weak. This parameter sets the upper limit on the amount of amplification that will be attempted. If it is set too low, low incidence areas of the image may appear bland. If it is set too high, then low incidence areas of the image may contain amplified noise rather than useful shading information.
thresh | Normalization function parameter, default is 30.0 |
|
virtualinherited |
Set the wavelength parameter.
This value is obtained from the BandBin Center keyword of the image. This must be set by the application.
Definition at line 51 of file NormModel.cpp.
Referenced by Isis::Photometry::SetPhotomWl().
|
privateinherited |
Definition at line 76 of file NormModel.h.
|
privateinherited |
Definition at line 78 of file NormModel.h.
|
privateinherited |
Definition at line 77 of file NormModel.h.
|
protectedinherited |
Definition at line 73 of file NormModel.h.