<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=997501816-06062008>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=997501816-06062008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=997501816-06062008>Try adding something like</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=997501816-06062008>PROCESSING "LUT=0:0,255:200"</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=997501816-06062008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=997501816-06062008>It should give an linearly lightened image. Have
a try and play with the LUT input/output values, perhaps you'll get a more
usable output. By using separate LUT inputs you can control red, green and
blue separately. If you want to use WYSIWYG tool for colour adjustment take
a sample image into GIMP, use curves tool and save the GIMP curve file once you
are satified. "PROCESSING LUT=" accepts the curve files saved from
GIMP. </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=997501816-06062008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=997501816-06062008>GIMP is not meant for big geospatial images. Use some
reasonably sized image excerpt for adjusting colours with
it.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=997501816-06062008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=997501816-06062008>-Jukka-</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2></FONT> </DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=fi dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Lähettäjä:</B> David Martinez Morata
[mailto:damarmo@gmail.com] <BR><B>Lähetetty:</B> 6. kesäkuuta 2008
11:52<BR><B>Vastaanottaja:</B> Rahkonen Jukka<BR><B>Kopio:</B>
mapserver-users@lists.osgeo.org<BR><B>Aihe:</B> Re: [mapserver-users] Output
Raster format<BR></FONT><BR></DIV>
<DIV></DIV>Thanks!<BR><BR>I read about procesing functions, but I don't really
understand the functions :S<BR><BR>I have a WMS for raster cartographyc fonds
and I need to do more clear images. the colors in the images are strong colors
and when I insert a shape I have some problems to clear show this
shape.<BR><BR>Any sugestions?<BR><BR>Thanks<BR><BR>
<DIV class=gmail_quote>2008/6/3 Rahkonen Jukka <<A
href="mailto:Jukka.Rahkonen@mmmtike.fi">Jukka.Rahkonen@mmmtike.fi</A>>:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN>Hi</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN>Mapserver is not much like web processing service.
However, something can be done with layer PROCESSING
directives SCALE and LUT. There may be other options for
customizing which I am not aware.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN><A
href="http://mapserver.gis.umn.edu/docs/howto/raster_data/#special-processing-directives"
target=_blank>http://mapserver.gis.umn.edu/docs/howto/raster_data/#special-processing-directives</A></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN>Sometimes I have been thinking that it would be nice to have an
option to push aerial photos out through some sort of sharpening
filter.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN>-Jukka
Rahkonen-</SPAN></FONT></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,255) 2px solid; MARGIN-RIGHT: 0px">
<DIV lang=fi dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>Lähettäjä:</B> <A
href="mailto:mapserver-users-bounces@lists.osgeo.org"
target=_blank>mapserver-users-bounces@lists.osgeo.org</A> [mailto:<A
href="mailto:mapserver-users-bounces@lists.osgeo.org"
target=_blank>mapserver-users-bounces@lists.osgeo.org</A>] <B>Puolesta
</B>David Martinez Morata<BR><B>Lähetetty:</B> 3. kesäkuuta 2008
11:48<BR><B>Vastaanottaja:</B> <A
href="mailto:mapserver-users@lists.osgeo.org"
target=_blank>mapserver-users@lists.osgeo.org</A><BR><B>Aihe:</B>
[mapserver-users] Output Raster format<BR></FONT><BR></DIV>
<DIV>
<DIV></DIV>
<DIV class=Wj3C7c>
<DIV></DIV>Hello!<BR><BR>I have a question about customizing output format
for a WMS server.<BR><BR>I have a Raster collection in .tiff format, I
make a wms server with this raster files. The output in mapfile its not
specified in map file.<BR>My question its:<BR><BR>Can we change the
contrast, saturation and other values for output image? How? With GDAL
functions?<BR><BR>Thanks.<BR></DIV></DIV></BLOCKQUOTE></DIV><BR>_______________________________________________<BR>mapserver-users
mailing list<BR><A
href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</A><BR><A
href="http://lists.osgeo.org/mailman/listinfo/mapserver-users"
target=_blank>http://lists.osgeo.org/mailman/listinfo/mapserver-users</A><BR><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>