Changing values in raster attribute table

5138
3
Jump to solution
01-18-2015 02:25 AM
RickardNäsström
New Contributor

Hi,

 

I am trying to perform a relative radiometric normalization of landsat scenes in a time series, by applying a linear regression method. My problem is how to recalculate the VALUE fields in the raster layers using decimal numbers. It works with integer numbers but the raster calculator doesn't support decimal numbers. Anyone got a good idea how to get around this?

0 Kudos
1 Solution

Accepted Solutions
KishorGhatage
Occasional Contributor III

Raster calculator works with decimal numbers.

In case of difficulty following could be workaround:

1. Convert the  raster to point.

2. Export the table to dbase or a txt

3. Calculate the regression values 

4. Join the table to point feature class

5. convert the point layer to rater with original resolution useing regression value field

View solution in original post

3 Replies
KishorGhatage
Occasional Contributor III

Raster calculator works with decimal numbers.

In case of difficulty following could be workaround:

1. Convert the  raster to point.

2. Export the table to dbase or a txt

3. Calculate the regression values 

4. Join the table to point feature class

5. convert the point layer to rater with original resolution useing regression value field

RickardNäsström
New Contributor

Hey, thanks so much!

Don't know why I had problems with the calculator at first, tried again after your comment and it worked!

SteveLynch
Esri Regular Contributor

Only integer rasters have an attribute table.

Think of a 3x3 raster

1  1  2

1  1  1

1  1  NoData

The attribute table will be

Value = 1, Count=7

Value = 2, Count =1

These are reserved fields and cannot be modified other than by creating a new raster.

-Steve

0 Kudos