Registering an Image: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
m (Protected "Registering an Image" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(14 intermediate revisions by 2 users not shown)
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 -->
[[File:RegisterImage.jpg|thumb|550 px|Example of the ''Register Image'' dialog.]]
[[File:RegisterImage.png|thumb|500 px|Example of the ''Register Image'' dialog.]]
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 it's necessary to define the coordinate system of the image. The ''Register Image'' dialog allows specifying 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 Image'' dialog opens.


== What is Image Registration? ==
== What is Image Registration? ==
Line 20: Line 20:
! Tool !! width ="125"| Tool Name !! Description
! Tool !! width ="125"| Tool Name !! Description
|-
|-
| align = "center" | [[Image:SelectRegistrationPoint.jpg]]
| align = "center" | [[File:Select Registration Point Tool.svg|12 px]]
| align = "center" | '''Select Point Tool'''
| align = "center" | '''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.
|| 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.
|-
|-
| align = "center" | [[File:Tool Zoom.GIF]]
| align = "center" | [[File:Zoom Tool Icon.svg|16 px]]
| align = "center" | '''Zoom Tool'''
| align = "center" | '''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.
|| 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.
|-
|-
| align = "center" | [[File:Tool Pan.GIF]]
| align = "center" | [[File:Registration Pan Tool.svg|16 px]]
| align = "center" | '''Pan Tool'''
| align = "center" | '''Pan Tool'''
|| After zooming in on a portion of the image, the '''Pan''' tool is used to pan the image vertically or horizontally.
|| After zooming in on a portion of the image, the '''Pan''' tool is used to pan the image vertically or horizontally.
|-
|-
| align = "center" | [[Image:Frame.JPG]]
| align = "center" | [[File:Registration Frame Tool.svg|16 px]]
| align = "center" | '''Frame Macro'''
| align = "center" | '''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.
|| 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.
Line 47: Line 47:
==Convert Point Coordinate System==
==Convert Point Coordinate System==
<!-- 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 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.
The x, y coordinates of each register point must be specified. If there are (x,y) coordinates in a different coordinate system than the project, the coordinates will need to be converted.


=== GMS Point Conversion ===
=== GMS Point Conversion ===
<!-- 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 '''Convert Point''' button in the image registration dialog will allow the user to convert the coordinates.
The '''Convert Point''' button in the image registration dialog will allow converting the coordinates.


=== SMS Point Conversion ===
=== SMS Point Conversion ===
<!-- 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 [[Single Point Conversion]] command in the ''Edit'' menu can be helpful if it becomes necessary to convert between any two coordinate systems. The user should perform this conversion and record the locations in the correct coordinate system prior to entering the registration dialog.
The [[Single Point Conversion]] command in the ''Edit'' menu can be helpful if it becomes necessary to convert between any two coordinate systems. 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 [[GMS:Project Explorer|Project Explorer]] and choosing '''Coordinate Conversion''' from the right-click menu.
An alternative approach is to convert the coordinate system after importing by right-clicking on the image in the [[GMS:Project Explorer|Project Explorer]] and choosing '''Coordinate Conversion''' from the right-click menu.
Line 61: Line 61:
=== WMS Point Conversion ===
=== WMS Point Conversion ===
<!-- 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 [[Single Point Conversion]] command in the ''Edit'' menu can be helpful if it becomes necessary to convert between any two coordinate systems. The user should perform this conversion and record the locations in the correct coordinate system prior to entering the registration dialog.
The [[Single Point Conversion]] command in the ''Edit'' menu can be helpful if it becomes necessary to convert between any two coordinate systems. Perform this conversion and record the locations in the correct coordinate system prior to entering the registration dialog.


==See also==
==See also==

Latest revision as of 15:39, 29 August 2017

Example of the Register Image dialog.

If an image file is not geo-referenced then it's necessary to define the coordinate system of the image. The Register Image dialog allows specifying 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 Image 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
Select Registration Point Tool.svg 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.
Zoom Tool Icon.svg 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.
Registration Pan Tool.svg Pan Tool After zooming in on a portion of the image, the Pan tool is used to pan the image vertically or horizontally.
Registration Frame Tool.svg 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 there are (x,y) coordinates in a different coordinate system than the project, the coordinates will need to be converted.

GMS Point Conversion

The Convert Point button in the image registration dialog will allow converting the coordinates.

SMS Point Conversion

The Single Point Conversion command in the Edit menu can be helpful if it becomes necessary to convert between any two coordinate systems. 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 it becomes necessary to convert between any two coordinate systems. Perform this conversion and record the locations in the correct coordinate system prior to entering the registration dialog.

See also