Registering an Image: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
 
No edit summary
Line 1: Line 1:
<!-- THIS IS A SHARED PAGE, SO PLEASE DON'T PUT LINKS TO PROGRAM SPECIFIC PAGES UNLESS THEY ARE SPECIFIED AS SUCH -->
<!-- THIS IS A SHARED PAGE, SO PLEASE DON'T PUT LINKS TO PROGRAM SPECIFIC PAGES UNLESS THEY ARE SPECIFIED AS SUCH -->
If an image file is not geo-referenced then the user must define the coordinate system of the image. The register dialog allows the user to specify the coordinate system for the image. When an image is opened, if the image is not self-referenced, XMS attempts to find world file with the same name as the image (.wld or .jpgw extension). If neither of these is found, the register dialog opens.
If an image file is not geo-referenced then the user must define the coordinate system of the image. The register dialog allows the user to specify the coordinate system for the image. When an image is opened, if the image is not self-referenced, XMS attempts to find world file with the same name as the image (*.wld or *.jpgw extension). If neither of these is found, the register dialog opens.


== What is Image Registration? ==
== What is Image Registration? ==
Line 10: Line 10:
An image is registered using the Register Image dialog. The main feature of the Register Image dialog is a large window in which the image is displayed. Two or three points (shown by "+" symbols) are also displayed in the window. These points are used to identify locations with known real world coordinates. The real world coordinates (X,Y) and image coordinates (U,V) of the registration points are listed in edit fields below the image. The points are moved to the desired locations on the image by dragging the points using the tools described below. Once the points are located, the real world coordinates can be entered in the corresponding edit fields. The dialog contains the following options:
An image is registered using the Register Image dialog. The main feature of the Register Image dialog is a large window in which the image is displayed. Two or three points (shown by "+" symbols) are also displayed in the window. These points are used to identify locations with known real world coordinates. The real world coordinates (X,Y) and image coordinates (U,V) of the registration points are listed in edit fields below the image. The points are moved to the desired locations on the image by dragging the points using the tools described below. Once the points are located, the real world coordinates can be entered in the corresponding edit fields. The dialog contains the following options:
* '''2 point or 3 point registration''' - Two point registration rotates and uniformly scales an image. Three point registration allows for non-uniform scaling to account for some parallax.
* '''2 point or 3 point registration''' - Two point registration rotates and uniformly scales an image. Three point registration allows for non-uniform scaling to account for some parallax.
* '''Import World File''' - Used to import a TIFF world file (.tfw). A TIFF world file has the information needed to set the (X,Y) and (U,V) coordinates in order to place the image in the correct world coordinates.
* '''Import World File''' - Used to import a TIFF world file (*.tfw). A TIFF world file has the information needed to set the (X,Y) and (U,V) coordinates in order to place the image in the correct world coordinates.
* '''Image name''' - Used to associate a name with the file. This name will appear in the project explorer.
* '''Image name''' - Used to associate a name with the file. This name will appear in the project explorer.


Line 38: Line 38:
==Import World File==
==Import World File==
<!-- THIS IS A SHARED PAGE, SO PLEASE DON'T PUT LINKS TO PROGRAM SPECIFIC PAGES UNLESS THEY ARE SPECIFIED AS SUCH -->
<!-- THIS IS A SHARED PAGE, SO PLEASE DON'T PUT LINKS TO PROGRAM SPECIFIC PAGES UNLESS THEY ARE SPECIFIED AS SUCH -->
The Import World File button can be used to automatically define the registration data. A world file is a special file associated with a previously registered image that is exported from [http://www.esri.com/software/arcview/ ArcView®] or [http://www.esri.com/software/arcgis/arcinfo/ Arc/Info®]. The file contains registration data that can be used to register the image.
The '''Import World File''' button can be used to automatically define the registration data. A world file is a special file associated with a previously registered image that is exported from [http://www.esri.com/software/arcview/ ArcView®] or [http://www.esri.com/software/arcgis/arcinfo/ Arc/Info®]. The file contains registration data that can be used to register the image.


==Saving/Reading Image Registration Data==
==Saving/Reading Image Registration Data==

Revision as of 17:16, 18 May 2012

If an image file is not geo-referenced then the user must define the coordinate system of the image. The register dialog allows the user to specify the coordinate system for the image. When an image is opened, if the image is not self-referenced, XMS attempts to find world file with the same name as the image (*.wld or *.jpgw extension). If neither of these is found, the register dialog opens.

What is Image Registration?

Before an image can be displayed, the image must be "registered" or geo-referenced. Registering an image involves identifying points on the image corresponding to locations with known real world (XY) coordinates. Once these points are identified, they are used to scale and translate the image to the proper location when it is drawn with the other objects in the Graphics Window. If an image is not registered properly, any objects which are created using the background image as a guide will have the wrong coordinates.

Register Image Dialog

An image is registered using the Register Image dialog. The main feature of the Register Image dialog is a large window in which the image is displayed. Two or three points (shown by "+" symbols) are also displayed in the window. These points are used to identify locations with known real world coordinates. The real world coordinates (X,Y) and image coordinates (U,V) of the registration points are listed in edit fields below the image. The points are moved to the desired locations on the image by dragging the points using the tools described below. Once the points are located, the real world coordinates can be entered in the corresponding edit fields. The dialog contains the following options:

  • 2 point or 3 point registration - Two point registration rotates and uniformly scales an image. Three point registration allows for non-uniform scaling to account for some parallax.
  • Import World File - Used to import a TIFF world file (*.tfw). A TIFF world file has the information needed to set the (X,Y) and (U,V) coordinates in order to place the image in the correct world coordinates.
  • Image name - Used to associate a name with the file. This name will appear in the project explorer.

Register Image Dialog Tools

The following tools can be used to help position the registration points:

Tool Tool Name Description
SelectRegistrationPoint.jpg Select Point Tool The Select Point tool is used to select and drag register points to a location on the map for which real coordinates are known so that they can be entered in the corresponding XY edit fields.
File:Zoom.JPG Zoom Tool In some cases, it is useful to magnify a portion of the image so that a registration point can be placed with more accuracy. The Zoom Tool is used to zoom in a portion of the image.
File:Pan.JPG Pan Tool After zooming in on a portion of the image, the Pan Tool is used to pan the image vertically or horizontally.
File:Frame.JPG Frame Macro The Frame Macro is used to automatically center the entire image within the drawing window of the dialog after panning and zooming in on a specific location.

Import World File

The Import World File button can be used to automatically define the registration data. A world file is a special file associated with a previously registered image that is exported from ArcView® or Arc/Info®. The file contains registration data that can be used to register the image.

Saving/Reading Image Registration Data

When a project file is saved, a link to the image is saved in the project file, along with the current image registration information so that the image is re-registered to the same coordinates every time the project is opened. The original image file and world file (if one exists) are not altered.

Convert Point Coordinate System

The x, y coordinates of each register point must be specified. If the user has the (x,y) coordinates in a different coordinate system than their project, the coordinates will need to be converted.

GMS Point Conversion

The Convert Point button in the image registration dialog will allow the user to convert the coordinates.

SMS Point Conversion

The Single Point Conversion command in the Edit menu can be helpful if you need to convert between any two coordinate systems. You should perform this conversion and record the locations in the correct coordinate system prior to entering the registration dialog.

An alternative approach is to convert the coordinate system after importing by right clicking on the image in the Project Explorer and choosing Coordinate Conversion from the right click menu.

WMS Point Conversion

The Single Point Conversion command in the Edit menu can be helpful if you need to convert between any two coordinate systems. You should perform this conversion and record the locations in the correct coordinate system prior to entering the registration dialog.

See also