CARIS HIPS and SIPS Help : HIPS and SIPS : HIPS and SIPS Commands A to K : Fill Raster Holidays (Entire dataset)
 

Fill Raster Holidays (Entire dataset)

 
Fill Raster Holidays - By Range
Fill Raster Holidays By Pointing

 

Menu

Tools > Coverages > Modify >Fill Raster Holidays

Tool

Pop-up

coverage > Tools > Fill Raster Holidays (Layers window)

The Fill Raster Holidays process uses interpolation to fill empty nodes in a grid using values from surrounding populated nodes. This process can be applied to the entire dataset, to a user-specified range or by manually filling individual empty nodes using values from surrounding nodes.

See also: Fill Raster Holidays - By Range

Fill Raster Holidays By Pointing

The Fill Raster Holidays> Entire dataset command attempts to fill all holes in a selected surface. The process begins by classifying all nodes in the surface as data, holes, or no-data (areas beyond the surface data but within the extents of the surface). The classifications are used to determine the locations of holes that need to be interpolated. The application then analyzes the populated nodes surrounding holes to determine if there are enough neighbouring values to interpolate values for the holes based on user-specified criteria. If sufficient data is present, the process runs as a single iteration, filling all holes. Holes are filled as much as possible from the outer edge to the centre, given the populated data and specified criteria.The application then analyzes the populated nodes surrounding holes to determine if there are enough neighbouring values to interpolate values for the holes based on user-specified criteria. If sufficient data is present, the process runs as a single iteration, filling all holes. Holes are filled as much as possible from the outer edge to the centre, given the populated data and specified criteria.

Large holes may be only partially filled as there may not be sufficient neighbouring data to completely fill a hole. The command can be run multiple times, however, to continue to fill holes using a single iteration each time. Each successive run will use the interpolated values from the previous run as populated neighbouring nodes.

The original coverage is not affected by this command. A copy of the selected coverage is created and the interpolation is performed on that data. The new surface will be in the format of the input data. For example, if the source coverage is a raster surface, the output coverage will also be a raster surface. If the input were a point cloud, the output would be a point cloud. The new coverage will contain a copy of each attribute band that was selected for inclusion in the output as well as a Holidays band and an Interpolated band. The Holidays and Interpolated bands will contain the data classifications and the interpolated nodes. The names of these bands will differ depending on the name of the primary elevation band in the source coverage. For example, if the primary elevation band were called Depth, the interpolated coverage would contain a Depth and Holidays band and a Depth Interpolated band.

The Interpolated band can be used with filtering tools to filter out interpolated data when performing other tasks (for example, extracting a surface), if desired.

Related commands

Fill Raster Holidays - By Range

Fill Raster Holidays By Pointing

Interface

The Fill Raster Holidays command uses the following dialog box.

Option

Description

Source raster

The Source raster is defined by the surface that was selected at the time the command was initiated. This field cannot be changed.

Attributes

The attribute bands to be copied to the interpolated surface. The Available list contains all attributes present in the source surface that are available for inclusion in the output surface. The Selected list contains all attributes that have been selected for inclusion in the output surface. The primary elevation band is selected by default and cannot be removed as it is the only band that is interpolated. All other attributes in the Selected list will be included in the output surface, but they will not be interpolated.

To select attribute bands:

1. Select an attribute band in the Available list.

2. Click the right-arrow button to move the attribute to the Selected list.

Output raster

The name and location for the resulting raster.

1. Click browse (...) to open a Save As dialog box.

2. Enter a name and select a location for the output raster.

Matrix size

The number of nodes surrounding a hole that will be analyzed for populated values. The options are 3x3 or 5x5, meaning the application will analyze a square area around each pixel of the hole that is either 3 pixels high and 3 pixels wide, or 5 pixels high and 5 pixels wide.

Neighbours

The number of pixels within the matrix area that must contain data in order for the hole to be interpolated. For example, if you select the 3x3 matrix size option and enter a neighbours value of 6, that area must have at least 6 populated data nodes in order for a pixel in the hole to be interpolated.

If there are not enough populated nodes present in the matrix area, it is possible that only some pixels in the hole will be interpolated or the hole will be skipped entirely by the process.

Matrix Size and Neighbours

In the image below, the blue square represents a 3x3 matrix area. Each dot within the square is a node. Of those nodes, only the 6 shaded nodes contain data.

 

If the Neighbours field is defined as 6 or less, this would be sufficient to interpolate the pixel at the centre of the square. If the square were shifted to centre on each pixel in the hole, you can see the entire hole could be interpolated using the specified criteria.

Procedure >Entire Dataset

1. In the Layers window, select the root layer of the raster to be interpolated.

2. Select the Fill Raster Holidays > Entire Dataset command.

The Fill Raster Holidays dialog box is displayed.

3. Select attributes in the Available list and click the right-arrow button to move them into the Selected list.

4. Define a name and location for the Output surface.

5. Select a Matrix size option.

6. Type a value in the Neighbours field.

7. Click OK.

A new surface coverage is created and the holes in the data are filled as much as possible using the specified criteria and the available source data.