Available with Standard or Advanced license.
In this exercise, you will create a mosaic dataset using raw aerial imagery, a DEM, and some parameter files. The imagery added to this mosaic dataset has been processed with MATCH-AT and will be added to the mosaic dataset using the MATCH-AT raster type.
Since there are so many overlapping images, you may find it useful to create seamlines to define how the images will be mosaicked, which this tutorial will also demonstrate.
This exercise does not rely on any previous exercises.
Before you begin, it is assumed that you have installed the tutorial on the C:\ drive. If not, you will need to edit the hard-coded paths to the data in the MATCH-AT project file (Amberg_MAT2.prj in \arcgis\ArcTutor\Raster\Data\Amberg_scans\Match-AT Parameters). This project file is a text file you can open in any text editor program (such as Notepad or WordPad). Search for the string C:\ImageServerTutorial\Data\Amberg_scans\Scans and replace it with your path to the \Scans folder containing the .tif files. This path appears 12 times in this file.
For example, if your path to the tutorial data begins with D:\mydata, you will likely replace text in the line:
$PHOTO_FILE: C:\arcgis\ArcTutor\Raster\Data\Amberg_scans\Scans\110211.tif
with
$PHOTO_FILE: D:\mydata\arcgis\ArcTutor\Raster\Data\Amberg_scans\Scans\110211.tif
Start ArcMap
- Start ArcMap.
- Click Cancel on the ArcMap - Getting Started window.
This window may not open if you've previously opted not to show it.
Create a file geodatabase
If you have already created the ImageGDB in another exercise, you can skip this section of steps.
- Click the Catalog button on the Standard toolbar.
This opens the Catalog window.
- In the Location text box, type C:\arcgis\ArcTutor\Raster and press ENTER.
This location is added to the Catalog tree under the Folders Connection heading.
If your tutorial data was installed in a different location, alter the path according to your installation location.
- Right-click the Raster folder and click New > Folder.
- Name the folder Exercises.
- Right-click the Exercises folder and click New > File Geodatabase.
- Rename the new file geodatabase ImageGDB.
Set the default geodatabase
Each map document has a default geodatabase, which is the home location for the spatial content of your map. This location is used for adding datasets and saving resulting datasets created by various editing and geoprocessing operations.
- Right-click the ImageGDB geodatabase in the Catalog window and click Make Default Geodatabase.
Create a new mosaic dataset
- Right-click the ImageGDB in the Catalog window and click New > Mosaic Dataset.
This opens the Create Mosaic Dataset tool.
- Type AmbergOrtho in the Mosaic Dataset Name text box.
- Click the Coordinate System browse button .
- Expand Projected Coordinate Systems > National Grids > Germany, select Germany Zone 4.prj, and click OK.
- Click OK on the Create Mosaic Dataset tool window.
The progress bar displays the status of the running tool.
Once the process is complete, a pop-up message will appear.
The AmbergOrtho mosaic dataset is created in the geodatabase and added to the ArcMap table of contents. This is an empty mosaic dataset. You will be adding raster datasets to it in the next steps.
When the mosaic dataset is added to the table of contents, it is added as a group layer. The top level has the name of the mosaic dataset—AmbergOrtho. There are also empty Boundary, Footprint, and Image layers.
Add rasters to the mosaic dataset
- In the Catalog window, under the ImageGDB, right-click the AmbergOrtho mosaic dataset you just created and click Add Rasters.
This opens the Add Rasters To Mosaic Dataset tool.
- In the Raster Type list, choose Match-AT.
- Click the Properties button .
The Raster Type Properties dialog box is opened. Here, you will enter specific information about the DEM and the location of the camera file.
- Click the Properties tab.
- Click the DEM radio button.
- Click the browse button and navigate to C:\ArcGIS\ArcTutor\Raster\Data\Amberg_Scans\DEM.
- Click the 01x01.flt file and click Add.
- Click the Auxiliary Inputs tab.
- Click the Camera browse button .
- Navigate to C:\ArcGIS\ArcTutor\Raster\Data\Amberg_Scans\Match-AT Parameters, click the CAMERA file, then click Open.
- Click OK to close the dialog box.
- Click the Input browse button .
- Navigate to C:\ArcGIS\ArcTutor\Raster\Data\Amberg_Scans\Match-AT Parameters\Amberg_MAT2.prj and click Open.
- Click OK to run the tool.
The progress bar displays the status of the running tool.
Once the process is complete, a pop-up message will appear.
The raster datasets are added to the mosaic dataset. The footprints are created for each raster dataset, and the boundary is generated for the entire mosaic dataset.
- Ignore the warning message that appears.
There are a few extra images defined in the Match-AT project file that are not included in the tutorial. These images are not added to the mosaic dataset. The list of missing images will be shown in the Results window.
- Click the Full Extent button to view the mosaic dataset.
- Uncheck the Image layer.
This way, you are only looking at the footprints for each image. You can see how each footprint is not simply a rectangle representing the extents of a raster dataset. Instead, each footprint has a unique shape. This shape represents the warping applied by the image due to the orthorectification.
- Uncheck the Footprint layer and check the Image layer.
You can see the same shape in the mosaicked image as in the footprints. However, there is also a black line. This line represents the image boarder from the scanned images. To remove this boarder you will shrink the footprints. Fortunately, there are lots of overlap in the imagery; therefore, the shrinking will not result in a significant data loss. In fact, it is a common practice to crop aerial imagery.
Shrink the footprints
- Right-click the AmbergOrtho mosaic dataset in the Catalog window and click Modify > Build Footprints.
The Build Footprints tool is opened.
- Click the Computation Method drop-down arrow and click NONE.
- Type 25 in the Approximate number of vertices text box.
- Type 60 in the Shrink Distance text box.
- Click OK to run the tool.
The progress bar displays the status of the running tool.
Once the process is complete, a pop-up message will appear.
- Check the Footprint layer in the table of contents to see them.
When looking at the dataset, you can see how the boarders of the images have been removed from the mosaicked image.
Build seamlines
Often, when working with aerial photography, you may want to control the resultant mosaicked image by defining the edge along which the images are mosaicked. You can do this by creating seamlines.
- Right-click the AmbergOrtho mosaic dataset in the Catalog window and click Enhance > Generate Seamlines.
The Build Seamlines tool is opened.
- Click the Computation Method drop-down arrow and click RADIOMETRY.
This option will examine the pixel values and patterns within the intersecting areas to compute the seamlines.
- Click OK to run the tool.
The progress bar displays the status of the running tool.
Once the process is complete, a pop-up message will appear.
Update the mosaic dataset properties
Before looking at the results you should make sure the mosaic dataset properties are set to use the seamline.
- Right-click the mosaic dataset in the table of contents and click Remove.
When you update the properties and add the mosaic dataset back to the display, the Image layer will reflect the updated properties.
- Click the Catalog tab and expand the window.
- Right-click the AmbergOrtho mosaic dataset and click Properties.
- Click the Defaults tab.
- Click the Allowed Mosaic Methods ellipse button .
This opens the Configure Allow List dialog box.
- Verify that the Default Method is Seamline and click OK.
- Click the Default Mosaic Operator drop-down arrow and click Blend.
This will blend the pixel values between overlapping rasters along the seamline. The default Blend Width is 10 and is also defined on this tab. This value defines the distance in pixels (at the display scale).
- Click OK to close the dialog box.
- Drag the AmbergOrtho mosaic dataset from the Catalog window and drop it on the display.
- Uncheck the Footprint layer and check the Seamline layer.
- Zoom in and around the seamlines. You can turn the seamlines on or off to examine the boundaries.
Build the overviews
To build a complete mosaic dataset you should build overviews. The overviews will be generated using the default mosaic method, which is Seamline.
- In the Catalog window, under the ImageGDB, right-click the AmbergOrtho mosaic dataset and click Optimize > Build Overviews.
This opens the Build Overviews tool.
- Accept the defaults and click OK.
- Click OK to run the tool.
The progress bar displays the status of the running tool.
Once the process is complete, a pop-up message will appear.
The mosaic dataset has been created and is ready to publish as an image service using ArcGIS for Server. You can also use the mosaic dataset as a layer within ArcMap or ArcGlobe.