RegisterLogin        Search

     Code Library

 

The ITT Visual Information Solutions Code Contribution Library allows you to share images, data, technical white papers, and more with other members of the IDL & ENVI communities.

 

Recent Code Contributions

ALL (426) IDL (305) ENVI (114)

Search

ENVI_HiRISE_Toolkit.zip

After downloading the file for this toolkit unpack the ZIP archive to the "save_add" subfolder of the ENVI installation:

ENVI 4.3 and older:
     - Windows    :  C:\RSI\IDL##\products\envi##\save_add\
     - Mac OS X   :  /Applications/rsi/idl_#.#/products/envi_#.#/save_add/
     - UNIX/Linux :  /usr/local/rsi/idl_#.#/products/envi_#.#/save_add/

ENVI 4.4 and newer:
     - Windows    :  C:\Program Files\ITT\IDL##\products\envi##\save_add\
     - Mac OS X   :  /Applications/itt/idl##/products/envi##/save_add/
     - UNIX/Linux :  /usr/local/itt/idl##/products/envi##/save_add/

For more detailed installation and usage instructions, simply unpack the ZIP file and read the instructions delineated within the included "README.txt" file. This toolkit performs input of HiRISE RDR data in PDS IMG, PDS JP2, JPEG, PNG, and TIFF file formats. If the dataset includes a PDS label metadata (either attached or detached), this data import utility will parse the relevant metadata and automatically load it directly into the ENVI software package. This toolkit also includes a PDS label metadata viewer, along with a calibration utility. The following map projections are supported by this toolkit:

 

  • Albers Conical Equal Area
  • Azimuthal Equidistant
  • Equidistant Conic
  • Equirectangular
  • Gnomonic
  • Lambert Azimuthal Equal Area
  • Lambert Conformal
  • Mercator
  • Miller Cylindrical
  • Orthographic
  • Polar Stereographic
  • Polyconic
  • Robinson
  • Simple / Equidistant Cylindrical (a.k.a. Geographic Lat/Lon or Plate Carree)
  • Sinusoidal
  • Stereographic
  • Van der Griten


File size 480 K
Downloads 76
Date Thu 11/13/2008 @ 08:17
Author Adam O'Connor
EMail
RATING:   COMMENTS (0)  DOWNLOAD

UTM_To_State_Plane.pro

The purpose of this program is to demonstrate the use of ENVI running in batch mode to call the ENVI_CONVERT_FILE_MAP_PROJECTION routine in order to convert the example image file "bhtmref.img" included with the ENVI installation from the UTM map projection to State Plane (NAD83).



File size 6 K
Downloads 18
Date Thu 11/13/2008 @ 08:16
Author Adam O'Connor
EMail
RATING:   COMMENTS (0)  DOWNLOAD

Launch_Web_Map_Servers.sav

To install this program simply download the file and move it to the "save_add" subfolder of the ENVI installation:

ENVI 4.3 and older:
- Windows : C:\RSI\IDL##\products\envi##\save_add\
ENVI 4.4 and newer:
- Windows : C:\Program Files\ITT\IDL##\products\envi##\save_add\
Once this is accomplished, restart ENVI and a 2 new menu items
will be added to the software:

- MAIN MENU : File > Launch Web Map Servers

- DISPLAY MENU : Tools > Launch Web Map Servers...

This program provides an interface for loading maps and imagery from 5 free web map servers (Google Maps, Windows Live Local, TerraServer, MapQuest, TerraServer-USA) using a geolocation coordinate (latitude & longitude). This program can be executed in stand-alone IDL or from an interactive session of ENVI, and it is only supported on Windows. This program supports tabbing, so you can select a tab and navigate to its GUI components using the Tab key, or navigate to neighboring tabs using the left (<--) and right (-->) arrow keys. Also keep in mind that you can right-click within the browser window and use the standard Internet Explorer context menu, which contains useful tools such as "Back", "Forward", "Add to Favorites", and "Print". If launched from ENVI, either the center coordinate of the selected dataset file or the current zoom window display pixel location are used for the initial latitude and longitude. This program can also be executed within IDL, IDL Runtime, or the IDL Virtual Machine. When launching this program from an interactive IDL> command prompt, the user has the ability to specify initial latitude and longitude using the LAT and LON keywords :

IDL> launch_web_map_servers, lat = 40.02, lon = -105.24

When using IDL 6.2 or newer, this program can also be launched (with or without arguments) from the MS-DOS Command Prompt within IDL Runtime using the following syntax :

C:\RSI\IDL62\bin\bin.x86> idlrt \Launch_Web_Map_Servers.sav -args
latitude longitude

For example :

C:\RSI\IDL62\bin\bin.x86> idlrt C:\My_IDL_Programs\Launch_Web_Map_Servers.sav -args 40.02 -105.24



File size 152 K
Downloads 108
Date Fri 11/07/2008 @ 01:18
Author Adam O'Connor
EMail
RATING:   COMMENTS (0)  DOWNLOAD

Points in a convex polygon

 

This zip file contains two files.  testPolygons.pro shows how to use the pointInsideApolygon function.

This function uses a new and unique way of determining if a point is inside a convex polygon.  However, if you do not have a convex polygon you can always find the convex hull of the polygon and first filter all points that lie outside of that.

For details on the algorithm go to www.rlkling.com and look for the 2008 IDL Users Group meeting.



File size 2 K
Downloads 30
Date Sun 10/19/2008 @ 04:11
Author Ronn Kling
EMail ronn@rlkling.com
RATING:   COMMENTS (0)  DOWNLOAD

Ellipse and Ellipsoid fitting routine

There are four routines in this zip file.  Three are for testing and the fourth, krellipsoidfit.pro is the actual fitting routine.

This new routine will fit both 2D ellipses and 3D ellipsoids.  However, with a simple extension it could even fit higher dimensional ellipses.

For details on the algorithm go to www.rlkling.com and look for the 200 IDL Users Group meeting.



File size 3 K
Downloads 37
Date Sun 10/19/2008 @ 04:06
Author Ronn Kling
EMail ronn@rlkling.com
RATING:   COMMENTS (0)  DOWNLOAD

< BACK  1 of 85  NEXT >
 Quick Links
 Community Resources
Home  |
|   Site Map
Privacy Statement © 2008 ITT Visual Information Solutions