[gdal-dev] Scale factor and bias of BIL file

Frank Warmerdam warmerdam at pobox.com
Wed Apr 30 15:22:20 EDT 2008


Vishal Ashok Singh wrote:
> Hello,
>          I have a BIL file and i want to know what is the scaling factor 
> and bias associated with it. The hdr. file does not contain this 
> information. Here is the header file:
> BYTEORDER      I
> LAYOUT       BIL
> NROWS         87
> NCOLS         148
> NBANDS        1
> NBITS         16
> BANDROWBYTES         296
> TOTALROWBYTES        296
> BANDGAPBYTES         0

Vishal,

There isn't one.  It is up to the application to pick scaling values
for display (assuming that is what you are getting at by scaling factor
and bias).

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the gdal-dev mailing list