CATALYST.Earth

Smart GeoFill

Geomatica Focus features the Smart GeoFill tool which allows you to alter aspects in your imagery, such as copying features or terrain elements, or filling an area of interest with content from an overlapping image to replace an unwanted aspect. You can adjust settings for blend width, color balance, contrast, and brightness of the source area to enhance or adjust its appearance in the destination layer.

There are two video tutorials available on the PCI Geomatics YouTube channel which outlines two Smart GeoFill workflows:

• Single Image Workflow: https://www.youtube.com/watch?v=0bBAIUBNoAY

• Multiple Images Workflow: https://www.youtube.com/watch?v=Bqc4VL987lY 

 
The following tutorial outlines some common Smart GeoFill workflows:

Table of Contents

Tool Overview

Smart GeoFill can be accessed through the Focus toolbar under the Tools dropdown menu. Information about the Smart GeoFill tool, including the following table is available from the Geomatica Help (Focus > Help > General): Geomatica Help > Focus > Image Processing > Using Smart Geofill

Replacing Values in a Single Image

This workflow replaces pixels in an image with different pixels from the same image. This is useful if you do not have other overlapping images and there is an artifact in your image that needs to be removed. In this example, we will copy pixels from a different part of the image to remove a cloud.

  1. Open your image in Focus and then open the Smart GeoFill Tool (Tools > Smart GeoFill). We will be replacing the cloud and shadow with different pixels from the same image.

2. The Selection Mode button is automatically selected. With this tool selected you can create a polygon around the cloud in the image.

3. If you click on the Selection Mode button’s drop-down arrow you will notice there are two options: Copy and Fill. We want to leave this as the default In Fill mode, Smart GeoFill uses the concept of source and destination polygons. That is, you draw a polygon, to define the area you want to fill. This polygon is then designated as the destination polygon. In Copy mode, Smart GeoFill copies the pixels inside the polygon you have drawn (or selected), which you can then paste to suit.

4. If you hover over the polygon, your pointer will switch to a four pointed arrow. You can click on the polygon and drag the source (yellow) polygon to choose the pixels that will fill the destination (blue) polygon. Try and choose pixels that are similar to your destination polygon.

 

5. Hide the polygons   to check if the edges match. You can check off Blend width box and set a blend value to blend the edge of the destination.