Hi everybody, first of all sorry for mi English ;)
I'm working with DN and I want to use this expression: 1.017*DN -4.180 for band 1. I've thougth to use this:
byte( 1.017*b1-4.180) but I have the problem that if DN is, for example, 2, using that expresion it becames -2 --> 253, and want that the minimun value was 0
I've read ENVI help but I have no idea how to solve this.
Thanks
|