Skip to main content

How to Use the Gap Filling Module

Learn how to use Gap Filling in VRIFY Explore to estimate values inside gaps in a raster.

Overview

Gap Filling estimates raster values inside areas you outline with a gap shapefile. It produces a gap-filled raster and a gap mask that you can save to DORA.


What Gap Filling Does

Gap Filling fills every cell inside your gap polygons with values estimated from the patterns in the surrounding data. This includes cells inside the polygons that already have values: Gap Filling replaces them. Cells outside the polygons keep their original values.

You don't need to remove the unwanted data from your raster first. Outline it with a polygon and Gap Filling replaces everything inside.

The outputs cover your AOI at the same cell size as your input raster, so they align with your input.


Preparing Your Gap Shapefile

Gap Filling uses polygons to define gaps. Keep these points in mind when you create the shapefile:

  • Outline the full area you want replaced. Any original values left inside a gap influence the fill. If small patches of the unwanted signal sit next to your polygons, Gap Filling can reconstruct a pattern close to the original. Extend your polygons to cover them.

  • Convert lines to polygons. If the interference follows a linear feature, such as a road or pipeline, buffer the line into a polygon wide enough to cover the affected signal.

  • Keep gaps as small as practical. Narrow gaps fill more reliably than large ones.


Step by Step Instructions

Before you begin, add a Select AOI step to the canvas and select an AOI file. Once the data source step and data augmentation module are added to the canvas, connect the Select AOI step and the data source step to the module.

  1. Select Raster Data

    • Open a Select Rasters source step in VRIFY Explore.

    • Select a file from the dropdown, then click Apply selection to save the file.

  2. Select the Gap Shapefile

    • Open a Select Line Data source step.

    • Select the shapefile from the dropdown, then click Apply selection.

  3. Add the Gap Filling Module

    • Add the Gap Filling module to the canvas, then connect the two source data steps to it.

  4. Generate Gap Filling

    • Click Generate to create the gap-filled raster and gap mask.

  5. Review Outputs

    • Two outputs are generated:

      • Gap Mask: Shows the cells that were filled.

      • Gap Filled: Your input raster with values estimated inside the gaps.

    • New rasters follow this naming convention: AUG_Gaps_[RasterName]Gap_Mask and AUG_Gaps[RasterName]_Gap_Filled. You can edit the name before saving. Keep the AUG and Gaps prefixes so the output is categorized correctly in DORA and is easy to locate.

  6. Export and/or Save Output(s)

    • Select the output(s) you want to keep, or click Select All, then:

      • Click Export to download the rasters to your computer.

    • To save to DORA, open the Add Step sidebar on the left:

      • Save to Asset: Click Save Rasters to save to DORA. All users in your organization can use them in an experiment.

      • Save Draft: Click Save Rasters to save to your Drafts folder. Only you will have access.


Interpreting the Gap Filling Outputs

Gap-Filled Raster

This raster is your input raster with estimated values inside the gaps. Cells outside the gaps keep their original values.

Filled values follow the patterns and texture of the surrounding data, so the filled area blends in with the rest of the grid. Small gaps in smoothly varying data usually fill convincingly. Large gaps, or gaps that cross a sharp geological boundary, are more likely to contain values that don't represent the real geology.

Check the result against the original raster. If the filled area looks almost the same as the data you wanted to remove, unwanted values were probably left inside or next to your polygons. Extend the polygons and run the module again.

Gap Mask

The gap mask shows where Gap Filling estimated values. Cells with a value of 1 were filled. Cells with a value of 0 kept their original values. Keep the gap mask with the gap-filled raster. Use it to check whether a target or high VPS area falls inside a filled area, and review those areas closely before you act on them.


Additional Notes

Gap Filling fills only the cells inside your gap polygons. Empty cells outside the polygons, such as the area around the edge of an irregular survey, stay empty.


Learn More


Still Have Questions?

Reach out to your dedicated DORA contact or email support@vrify.com for more information.

Did this answer your question?