Center for Spatial Information Science and Systems (CSISS)
CSISS Geospatial Web Services index

Raster_GreyScaleService

This service converts a color raster map including the red, green, or blue components to a grey scale equivalents.

Operation:

grey_scale - Converts each category value in map to a value in the range 0-255 which represents the grey scale level implied by the color for the category. Users can specify weights for each component of the input raster map, just as follow:

 0.30 * red + 0.59 * green + 0.11 * blue

Request Parameters:

redImageURL
URL of red raster map layer to be used for
Default format: GeoTIFF
greenImageURL
URL of green raster map layer to be used for
Default format: GeoTIFF
blueImageURL
URL of blue raster map layer to be used for
Default format: GeoTIFF
red_weights
weight of red map layer
Parameter format: float
green_weights
weight of green map layer
Parameter format: float
blue_weights
weight of blue map layer
Parameter format: float
outputGeoTiffType
Type of output GeoTIFF file. The output Format Type is specified as GeoTIFF
Parameter format: string
Options: Byte, Int16, UInt16, UInt32, Int32, Float32, Float64, CInt16, CInt32, CFloat32, CFloat64

Response Parameters:

returnURL
URL of output raster map
returnFormat
Format of output raster map
Default: GeoTIFF

For further informations

ServiceLocation
WSDL
JavaInterface

See also GRASS command

r.mapcalc


Copyright Center for Spatial Information Science and Systems (CSISS), 2002-2010
George Mason University (GMU), 4400 University Drive, MSN 6E1, Fairfax, VA 22030, USA


Any comments to:webmaster