Previous Image Processing : Mapping an Image onto Geometry Next

Mapping Images onto Surfaces Overview

Mapping an image onto geometry, also known as texture mapping, involves overlaying an image or function onto a geometric surface. Images may be realistic, such as satellite images, or representational, such as color-coded functions of temperature or elevation. Unlike volume visualizations, which render each voxel (volume element) of a three-dimensional scene, mapping an image onto geometry efficiently creates the appearance of complexity by simply layering an image onto a surface. The resulting realism of the display also provides information that is not as readily apparent as with a simple display of either the image or the geometric surface.

Mapping an image onto a geometric surface is a two step process. First, the image is mapped onto the geometric surface in object space. Second, the surface undergoes view transformations (relating to the viewpoint of the observer) and is then displayed in 2D screen space. You can use IDL Direct Graphics or Object Graphics to display images mapped onto geometric surfaces.

The following table introduces the tasks and routines covered in this chapter.

Table 3-1: Tasks and Routines Associated with Mapping an Image onto Geometry 

Table 3-1: Tasks and Routines Associated with Mapping an Image onto Geometry 
Task
Routine(s)/Object(s)
Description
Display the elevation data.
Initialize the objects necessary for an Object Graphics display.
Initialize a surface object containing the elevation data.
Initialize an image object containing the satellite image.
Display the object in an interactive IDL utility allowing rotation and resizing.
Create a sphere.
Specify system variables required for 3D viewing.
Control the light source used by POLYSHADE.
Map the image onto the sphere using POLYSHADE and display the example with TVSCL.
Create a sphere.
Initialize model, palette and image objects.
Create normalized coordinates in order to map the image onto the sphere.
Assign the sphere to a polygon object and apply the image object.
Display the object in an interactive IDL utility allowing rotation and resizing.

  IDL Online Help (March 06, 2007)