Example 12: Simple enhancement of gray-scale images

Here we do a simple animation of "background" (or "base") images, using image filenames that are explicitly named in the config file, and add the ability to enhance ("colorize") the images on-the-fly.

All the controls are defaulted to the "plain" style. I added a basemap as a single overlay...just because I could!

The config file looks like this:

filenames = TVIS1.GIF, TVIS2.GIF, TVIS3.GIF controls = startstop, speed, step, zoom, enhance, overlay overlay_filenames=TMAP.GIF & TMAP.GIF & TMAP.GIF & TMAP.GIF overlay_labels=Map overlay_tooltip = Toggle map display enhance_filename=enh12.tab controls_style = display:flex;flex-flow:row; buttons_style = flex:auto;margin:2px;


The "enh12.tab" file looks like this: #HAniS ***sample*** enhancement tables file # Each Table begins with a name line with a * in the first column # Table entries are ordered # in-lo in-hi red-lo red-hi green-lo green-hi blue-lo blue-hi # (extra blanks dont matter) *grayscale # (probably should always have one) 0 255 0 255 0 255 0 255 *Thunderstorm Color Curve 0 31 0 142 0 107 0 35 32 33 20 20 20 20 20 20 34 145 22 255 22 255 22 255 146 154 243 191 222 0 250 255 155 170 191 0 0 0 255 255 171 190 0 0 12 255 242 0 191 200 25 255 255 255 0 0 201 210 255 255 229 0 0 0 211 220 229 0 0 0 0 0 221 245 20 255 20 255 20 255 246 255 255 255 255 255 255 255 *Inverse 0 255 255 0 255 0 255 0 *Warm Season B&W Curve 0 56 0 0 0 0 0 0 57 100 2 102 2 102 2 102 101 176 101 176 101 176 101 176 177 187 115 115 115 115 115 115 188 198 155 155 155 155 155 155 199 204 70 70 70 70 70 70 205 209 0 0 0 0 0 0 210 225 16 250 16 250 16 250 226 255 255 255 255 255 255 255
Go To Front Page
Next Example
This webapp Copyright© 2014- by Tom Whittaker