Thank you all !
2012/3/23 Frank Warmerdam
> On Fri, Mar 23, 2012 at 10:29 AM, Chaitanya kumar CH
> wrote:
> > Output pixel value = (raw pixel value * scale) + offset
>
> Exactly.
>
> The reason for scale and offset to exist is that "real world" measures
> like elevation, temperature, pressure a
On Fri, Mar 23, 2012 at 10:29 AM, Chaitanya kumar CH
wrote:
> Output pixel value = (raw pixel value * scale) + offset
Exactly.
The reason for scale and offset to exist is that "real world" measures
like elevation, temperature, pressure are often represented in raster
datasets as integer values r
Output pixel value = (raw pixel value * scale) + offset
On Fri, Mar 23, 2012 at 5:44 PM, Saâd HESSANE wrote:
> Ok, thank you again Chaitanya,
>
> But what is the function of this two element?
>
>
> 2012/3/23 Chaitanya kumar CH
>
>> Saâd,
>>
>> A VRT raster band can be derived from more than one
Ok, thank you again Chaitanya,
But what is the function of this two element?
2012/3/23 Chaitanya kumar CH
> Saâd,
>
> A VRT raster band can be derived from more than one source.
>
> Offset and Scale elements apply to the whole VRT raster band.
> The ScaleOffset and ScaleRatio perform the same
Saâd,
A VRT raster band can be derived from more than one source.
Offset and Scale elements apply to the whole VRT raster band.
The ScaleOffset and ScaleRatio perform the same task but it is done only on
that particular ComplexSource.
On Fri, Mar 23, 2012 at 3:43 PM, Saâd HESSANE wrote:
> Hy al
Hy all,
The vrt format allow defining the scale and offset element. But the
documentation is not clear about that :
- *Offset*: This optional element contains the offset that should be
applied when computing "real" pixel values from scaled pixel values on a
raster band. The default is 0.