> Script Details
SatValMod Color-Greyscale image integration
report inappropriate content
Jan 27 2009
Status of work
ArcGIS - ArcView
ArcScripts is intended for the free exchange of scripts and tools related to ESRI software products. Please alert the moderator if this script is a demo, trial-version, or an advertisement for a retail product.
I developed the SatValMod (SVM) method to address the problems associated
with traditional methods of integrating color with gray-scale raster data
(e.g. layer transparency, multiplying color by gray-scale values, etc.).
The main problem with traditional methods is color loss or corruption. SVM
does not change the original hue and modulates the saturation and value so
that the final output has the same rich colors of your input data.
SVM does not require Spatial Analyst. It supports Grid, BIL, and TIF
formats for input. It outputs a BIL file.
The SVM method involves a pixel-by-pixel transformation of RGB color
coordinates to HSV space, modulation of the saturation and value color
components, and transformation of the orginal hue and modulated saturation
and value components back to RGB space. More details are available in the
PowerPoint slide show included in the ZIP.
This technique can work with rasterized polygon layers. You will need
to create a CLR file that relates pixel values to the polygon colors.
I hope you find SVM useful in creating your color/gray-scale image
Initial upload to ArcScripts
Added mxd's for versions 8.3, 9.1, 9.2, 9.3
Added shaded relief image data to SampleData folder