My Project
|
Public Attributes | |
int | bScale |
int | bHaveScaleSrc |
double | dfScaleSrcMin |
double | dfScaleSrcMax |
double | dfScaleDstMin |
double | dfScaleDstMax |
scaling parameters for use in GDALTranslateOptions.
int GDALTranslateScaleParams::bHaveScaleSrc |
set it to TRUE if dfScaleSrcMin and dfScaleSrcMax is set. When it is FALSE, the input range is automatically computed from the source data.
int GDALTranslateScaleParams::bScale |
scaling is done only if it is set to TRUE. This is helpful when there is a need to scale only certain bands.
double GDALTranslateScaleParams::dfScaleDstMin |
the range of output pixel values. If GDALTranslateScaleParams::dfScaleDstMin and GDALTranslateScaleParams::dfScaleDstMax are not set, then the output range is 0 to 255.
double GDALTranslateScaleParams::dfScaleSrcMin |
the range of input pixel values which need to be scaled