| Using the Map Builder > Using More Map Builder Features > Importing a Data Source > Importing a Non-Georeferenced Image File |
Importing a Non-Georeferenced Image File |
INDEX
PREVIOUS
NEXT
|
If the data source is a Non-Georeferenced Image file (.gif, .tif, .jpg, .jpeg), there are specific options that you can set, see Figure 3.4:
button to interactively select the boundaries.
pixel properties or the latitude\longitude properties. In addition, you can drag the red crosses to the point you want; this automatically sets the property values in the Image Calibration pane. The red cross associated with a selected row is contained in a rectangle.
button.
Calibration in the Image Calibration pane uses an IlvFittedTransform class. This class requires a certain number of points to be entered for more complex transformations (that is, a higher degree of interpolation).
You must enter:
Polynomial interpolations are more precise in the area inside the calibration points. If you use this feature, try providing calibration points that cover as large an area as possible. In the first part of Figure 3.5, you can see the initial map of Alaska. Calibration points have been placed around the right side of this image. In the second part of Figure 3.5, you can see the interpolated image, however, the left side is quite skewed.
World files provide information for image calibration. A World file has the same filename as the main image file. For example, a file called USA.jgw could accompany an image named USA.jpg, and contain the coordinates of the image in seconds of arc.
An example of a World file content is as follows:
1.50000000000000 (X pixel size) 0.00000000000000 (translation) 0.00000000000000 (rotation) -1.50000000000000 (Y pixel size) 1934001.50000000000000 (X coordinate of the upper left pixel) 1187698.50000000000000 (Y coordinate of the upper left pixel)
The Map Builder ignores the translation and rotation parameters.
When loading images in GIF, JPG, PNG, or TIF format, the Map Builder scans the directory to see if a World file exists, and if so, predefines the image bounds accordingly in the importation dialog box.
For GIF, JPG, PNG, and TIF formats, the world file extensions checked are in the form .tifw or .tfw, .gifw or .gfw, .jpgw or .jgw, and .pngw or .pgw respectively.
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. Legal terms. | PREVIOUS NEXT |