<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><base href="x-msg://893/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Bob<div><br></div><div>We started with the Standard NOAA chart palette foray then used a gamma</div><div>function to tone this down for Dawn/Dusk  but used a special night time palette</div><div>based on user feedback note that at sea there is usually a 'blackout environment'</div><div>which is much darker then most</div><div><br></div><div>Have you seen this project ?</div><div><a href="http://jonls.dk/redshift/">http://jonls.dk/redshift/</a></div><div><br></div><div>Norman</div><div><br><div><div>On Mar 3, 2014, at 11:49 AM, "Basques, Bob (CI-StPaul)" <<a href="mailto:bob.basques@ci.stpaul.mn.us">bob.basques@ci.stpaul.mn.us</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="EN-US" link="blue" vlink="purple" style="font-family: Arial; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div class="WordSection1" style="page: WordSection1; "><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8pt; font-family: 'Comic Sans MS', serif; ">Hi Norman,<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8pt; font-family: 'Comic Sans MS', serif; "> </span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8pt; font-family: 'Comic Sans MS', serif; ">I had another thought after I sent the first post.  Maybe something along the lines of an inside/outside view switcher.  The outside mode would self correct based on the location/time settings.  I’m really interested in this automated approach to making the settings change.  I have even worked out how I can make the changes to a mapfile could work from a config file.  I just need the actual RGB conversion routine to try out the idea.  Optimum settings for those three values you described would get things started, then I would need to figure out the best approach to apply by location/time, (heck, you could even factor in weather conditions down the line . . .)<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8pt; font-family: 'Comic Sans MS', serif; "> </span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8pt; font-family: 'Comic Sans MS', serif; ">bobb<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8pt; font-family: 'Comic Sans MS', serif; "> </span></div><div><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(181, 196, 223); padding: 3pt 0in 0in; "><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><span class="Apple-converted-space"> </span>Norman Vine [mailto:nhv@<a href="http://cape.com" style="color: purple; text-decoration: underline; ">cape.com</a>]<span class="Apple-converted-space"> </span><br><b>Sent:</b><span class="Apple-converted-space"> </span>Monday, March 03, 2014 10:40 AM<br><b>To:</b><span class="Apple-converted-space"> </span>Basques, Bob (CI-StPaul)<br><b>Cc:</b><span class="Apple-converted-space"> </span><a href="mailto:mapserver-users@lists.osgeo.org" style="color: purple; text-decoration: underline; ">mapserver-users@lists.osgeo.org</a><br><b>Subject:</b><span class="Apple-converted-space"> </span>Re: [mapserver-users] Color temperature control (night-time viewing of maps)<o:p></o:p></span></div></div></div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; ">Bob<o:p></o:p></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; ">Back in the day when I was working on marine navigation chart displays<o:p></o:p></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; ">we used separate color tables for different light conditions<o:p></o:p></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; ">we found that 3 tables sufficed, Day, Dusk/Dawn, Night<o:p></o:p></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; ">we cheated a bit and used 64 bit palettes  this way with a little trickery<o:p></o:p></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; ">we could pack everything into a normal 8 bit color table<o:p></o:p></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; ">In practice this worked quite well<o:p></o:p></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; ">HTH<o:p></o:p></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; ">Norman<o:p></o:p></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div><div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; ">On Mar 3, 2014, at 11:30 AM, "Basques, Bob (CI-StPaul)" <<a href="mailto:bob.basques@ci.stpaul.mn.us" style="color: purple; text-decoration: underline; ">bob.basques@ci.stpaul.mn.us</a>> wrote:<o:p></o:p></div></div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><br><br><o:p></o:p></div><div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8pt; font-family: 'Comic Sans MS', serif; ">All,</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8pt; font-family: 'Comic Sans MS', serif; "> </span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8pt; font-family: 'Comic Sans MS', serif; ">So, I’ve been reading up on nighttime colors for electronic display(s).  I was wondering if anyone has any pointers on information about applying color temperature corrections to displays for nighttime viewing.  I’m in need of providing this functionality to some night crew workers.</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8pt; font-family: 'Comic Sans MS', serif; "> </span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8pt; font-family: 'Comic Sans MS', serif; ">My first thought was to apply some sort of RGB algorithm to the mapfile color settings.  Then I thought maybe a middleware  processor routine (between MapServer and the browser) might be a better approach, or possibly using something in the browser . . .</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8pt; font-family: 'Comic Sans MS', serif; "> </span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8pt; font-family: 'Comic Sans MS', serif; ">I’m only looking at setting up distinct color settings at the moment.  Maybe 3-5 ranges to start with.  I do know that some Mac hardware has some display monitoring for color temperature.  I would prefer to do something that could apply globally however.</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8pt; font-family: 'Comic Sans MS', serif; "> </span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8pt; font-family: 'Comic Sans MS', serif; ">Maybe there are Browser functions that can be applied to the problem (I haven’t found anything specific there yet though.</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8pt; font-family: 'Comic Sans MS', serif; "> </span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8pt; font-family: 'Comic Sans MS', serif; ">Thanks</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8pt; font-family: 'Comic Sans MS', serif; "> </span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8pt; font-family: 'Comic Sans MS', serif; ">Bobb</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8pt; font-family: 'Comic Sans MS', serif; "> </span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8pt; font-family: 'Comic Sans MS', serif; "> </span><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 13.5pt; font-family: Arial, sans-serif; ">_______________________________________________<br>mapserver-users mailing list<br><a href="mailto:mapserver-users@lists.osgeo.org" style="color: purple; text-decoration: underline; "><span style="color: purple; ">mapserver-users@lists.osgeo.org</span></a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" style="color: purple; text-decoration: underline; "><span style="color: purple; ">http://lists.osgeo.org/mailman/listinfo/mapserver-users</span></a><o:p></o:p></span></div></div></div><div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div></div></div></blockquote></div><br></div></body></html>