In this exercise, you will color balance the raster datasets within a raster catalog and create a single raster dataset from the color-balanced raster catalog. This exercise takes you through three color correction options to show you how you can experiment with the options to define the correct color correction for your data.
This exercise does not rely on any previous exercises.
Before you begin, it is assumed that you have installed the tutorial at C:\arcgis\ArcTutor\Raster\Data. If not, make the appropriate path changes throughout this tutorial so it works properly for you.
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 raster catalog
You will be creating an unmanaged raster catalog. This is a raster catalog that contains pointers to the source data instead of loading the raster datasets within.
- Right-click the ImageGDB in the Catalog window and click New > Raster Catalog.
This opens the Create Raster Catalog tool.
- Type ColorBalanced in the Raster Catalog Name text box.
- Click the Coordinate System for Geometry Column button .
- Click the Add Coordinate System button and click Import.
- Navigate to C:\ArcGIS\ArcTutor\Raster\Data\Orthos, click the first MrSID file, then click Add.
- Click OK to close the Spatial Reference Properties dialog box.
- Click the Raster Management Type drop-down arrow and click UNMANAGED.
- Click OK on the Create Raster Catalog tool window.
If the reporter window opens, click Close once the process is complete.
The ColorBalanced raster catalog is created in the geodatabase and added to the ArcMap table of contents. This is an empty raster catalog. You will be adding raster datasets to it in the next steps.
Add raster datasets to the raster catalog
- Right-click the ColorBalanced raster catalog in the Catalog window and click Load > Load From Workspace.
This opens the Workspace To Raster Catalog tool.
- Click the Input Workspace browse button .
- Navigate to C:\ArcGIS\ArcTutor\Raster\Data\Orthos and click Add.
- Click OK on the Create Raster Catalog tool window.
If the reporter window opens, click Close once the process is complete.
- You may need to click the Full Extent button to view the mosaic dataset.
Color correcting the raster catalog
The color correction is stored within the Layer Properties; therefore, from within that dialog box, you can interactively modify and view the results.
In the following steps, you will try several color correction methods.
Turn off the wireframe
- Set up your display so you can see the raster catalog and the Layer Properties dialog box. It is recommended that you modify the scale of the display to 1:500,000 and pan the display so that the raster catalog is to one side. This way, the Layer Properties dialog box does not cover the raster catalog.
- Right-click ColorBalanced in the table of contents and click Properties.
- Click the Display tab.
- Click the Never show wireframe radio button and click OK.
The raster catalog will redraw by rendering the rasters and not the wireframe. Now you can see each raster dataset in the raster catalog.
Color matching
Color matching matches the overlapping areas between the reference raster and the source rasters. Color matching is not recommended for this dataset because there is not much overlap. However, you can go though the steps to see how this process is done and see the results.
- Click the Select Features By Rectangle button on the Tools toolbar.
- Click a raster dataset within the raster catalog.
The selected footprint will be highlighted.
- Right-click ColorBalanced in the table of contents and click Properties.
- Click the Color Correction tab.
- Check Color Matching.
- Click the Define From Selection radio button.
- Click Apply.
You will see this result is very poor. This is because there are almost no overlapping pixels within this raster catalog. Therefore, this method should not be used.
- Uncheck Color Matching and click Apply.
- Click OK to close the dialog box.
- Click the Clear Selected Features button on the Tools toolbar.
Histogram balancing
Histogram balancing changes each of the pixel’s values toward the target histogram. Histogram balancing works best when each raster catalog items have similar histogram distributions.
- Right-click ColorBalanced in the table of contents and click Properties.
- Click the Color Correction tab.
- Check Color Balancing.
- Click the Balancing Method drop-down and click Histogram Balancing.
- Click Apply.
Once the raster catalog redraws, you will see that these results are better than the previous result, but still not correct.
Dodging balancing
When you use dodging, each of the pixel values are changed toward the target color. These values are used to determine the output value for each pixel. When using this method, you must also choose the type of target color surface to use, which will affect what the target color is. Dodging balancing tends to give the best result in most cases.
This final method will be one that provides the best correction for this dataset.
- Click the Balancing Method drop-down arrow and click Dodging Balancing.
- Click the Target Color Surface Type drop-down arrow and select First Order Surface.
- Check Apply Contrast Adjustment.
- Click Apply.
First the target color surface statistics are calculated, then the color balancing is applied.
- When the correction is complete, click OK to close the dialog box.
Create a color balanced raster dataset
You can export the raster catalog layer to a raster dataset from the table of contents (as described in the steps below) or you can use the Raster Catalog To Raster Dataset tool and check the Color Balancing check box.
- Right-click ColorBalanced in the table of contents and click Data > Mosaic Raster Catalog.
- Click the Location browse button .
- Navigate to and select the ImageGDB and click Add.
- Type BalancedImage in the Name text box.
- Click Save.
- Click Yes to add the exported raster dataset to ArcMap.
You've now created a single color-balanced raster dataset from many raster datasets using a raster catalog. You can close ArcMap without saving the map document.