Posts Tagged ‘bil’

SatValMod Color-Greyscale image integration (Viljoen via ESRI)

Wednesday, October 28th, 2009

svm3

[Editor's note: This VisualBasic script from David Viljoen, Geological Survey of Canada, for ArcGIS solves a transparency flattening issue when trying to blend color into a grayscale shaded relief image. Often the colors become distorted during the merge. This tool preserves the color (hue) and moderates the saturation and value instead. I've used HSV color adjustment layers in Photoshop with relief masks to accomplish the same thing, nice to know it's available in ArcMap, too. Aileen mentioned it at NACIS Sacramento earlier this month.]

Republished from ESRI.
By David Viljoen.

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 integration products.

Download from ESRI . . .

svm2

svm1

GISLook & GISMeta – Preview GIS Data Before Opening It

Thursday, June 26th, 2008

 gis quick look plugin bernie

Using Quick Look in Mac OS X 10.5, you can view the contents of a file without even opening it.

I am proud to announce today that Mr. Genius Bernhard Jenny of the Swiss Institute of Cartography at ETH Zurich has created Quick Look and Spotlight plugins for GIS data for Leopard. Download here.

Use GISLook to browse and preview GIS data in Finder window thumbnails, including Cover Flow and Quick Look windows. Use GISMeta to view the size of GIS raster grid files.

If you haven’t upgraded to 10.5 yet, this is good reason. If you don’t own a Mac, get one and run ArcMap  via Parallels Desktop.

This software is donationware. You can freely use them at no charge. If you use them regularly, it is suggested that you pay a donation of €5 or a more suitable amount.

Supported file types include: 

Vector data

  • ESRI Shape (.shp)
  • E00 ArcInfo Interchange (.e00)
  • ArcInfo Coverage (.adf)

Raster grids, such as digital elevation models or land cover data with a single band

  • BIL (.bil), BIP (.bip) and BSQ (.bsq) with .hdr file
  • ESRI ASCII Grid (.asc)
  • ESRI Binary Grid (.flt with .hdr file)
  • PGM (.pgm)
  • SRTM (.hgt and .dem)
  • Surfer Grid (.grd)
  • USGS DEM (.dem)