My Project
Public Attributes | List of all members
GDALTranslateScaleParams Struct Reference

Public Attributes

int bScale
 
int bHaveScaleSrc
 
double dfScaleSrcMin
 
double dfScaleSrcMax
 
double dfScaleDstMin
 
double dfScaleDstMax
 

Detailed Description

scaling parameters for use in GDALTranslateOptions.

Member Data Documentation

◆ bHaveScaleSrc

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.

◆ bScale

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.

◆ dfScaleDstMin

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.

◆ dfScaleSrcMin

double GDALTranslateScaleParams::dfScaleSrcMin

the range of input pixel values which need to be scaled


The documentation for this struct was generated from the following file: