Raphael Saldanha wrote:

> I'm using the script r.colors.stddev and making some adjustments for my
> needs.
> 
> First, I set all 0 values to null (r.null), then I run the modified script,
> with this color table:
> 
> ...
>      r.colors "$GIS_OPT_INPUT" color=rules << EOF
>        nv black
>        0% black
>        $MEAN_MINUS_2STDEV black
>        $mean 136 136 136
>        $MEAN_PLUS_2STDEV white
>        100% white
> ...
> 
> But the null values don't become to be displayed black, they still white.

How are you displaying the image? If you're using gis.m, raster maps
are overlaid by default, so any null pixels will let the background
colour show through. Uncheck the "overlay maps from other layers"
checkbox to make the background opaque.

-- 
Glynn Clements <[EMAIL PROTECTED]>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to