This document describes the HydrOffice QC Tools 2 application (2.7). For the project page, go here.

2.2.4. Detect holidays

2.2.4.1. How To Use?

Scan grids for unpopulated nodes (“holidays”).

  • Select the Detect holidays tab (Fig. 2.14) on the bottom of the QC Tools interface.
  • In Parameters, turn the knob to select All holes, Object detection, or Full coverage.
  • Set the Upper holiday area limit (as multiple of minimum holiday size). Unpopulated parts of the grid larger than this setting will not be flagged as holidays.
  • In Execution, click Find holiday v4.
_images/detect_holidays_interface.png

Fig. 2.14 The Detect holidays tab.

  • After computing, the output window opens automatically, and the results are shown (Fig. 2.15).
_images/detect_holidays_results.png

Fig. 2.15 The output message at the end of Find holiday v4 execution.

  • From the output window, drag-and-drop the output into the processing software to guide the review.

  • The output names adopt the following convention:

    • [grid filename].HFv4.[“all” for All holes | “obj” for Object detection | “cov” for Full coverage].[min size]

Note

For proper visualization, the software adopted to analyze the S57 output of VALSOU Checks has to represent the sounding values in meters.




2.2.4.2. How Does It Work?

The grid is scanned, and any empty grid nodes (“holes”) surrounded by populated nodes are identified. These are flagged as holidays based on 2018 NOAA NOS Hydrographic Survey Specifications and Deliverables.

The specifications have different criteria by which holidays are defined based on coverage requirements:

  • A holiday under Object Detection coverage requirements is defined as collinear, contiguous unpopulated nodes sharing adjacent sides.
  • A holiday under Full Coverage requirements is defined as a box of unpopulated nodes.
  • There is also the option to simply flag all unpopulated nodes as holidays, by selecting the All holes setting.

The holiday size is calculated in number of nodes based on the minimum allowable resolution and the grid resolution.

Only in the case of a variable resolution input, all the tiles are re-sampled to create a single resolution grid (selecting the highest resolution among all the grid tiles).

The minimum allowable resolution is calculated based on the median value of all the node depths belonging to the holiday perimeter.

Note

The output of Holiday Finder is a sounding, with a value of “1” for certain holidays, and “2” for possible holidays.

The following images illustrate the outcomes of the three algorithms applied to a single-resolution grid (with the minimum allowable resolution equals to the grid resolution):

  • In the example in (Fig. 2.16), the All holes setting marks three holes of 12, 7, and 2 nodes.
logo

Fig. 2.16 Example for All holes.

  • In the example in (Fig. 2.17), Object Detection requirements identify the holes of 12 and 7 nodes, because each has 3 collinear, contiguous unpopulated nodes. The hole with 2 grids does not.
logo

Fig. 2.17 Example for Object detection.

  • In the example in (Fig. 2.18), Full Coverage requirements identify the hole of 12 grid nodes, because there it contains an instance of 3x3 unpopulated grid nodes. The holes with 7 and 2 nodes do not.
logo

Fig. 2.18 Example for Full coverage.

A candidate hole is flagged with a “1” (if certain) or a “2” (possible holiday).

Note that the default Upper holiday area limit (as multiple of minimum holiday size) is set to unlimited, meaning that an unpopulated part of the grid will be flagged independently of its size. This setting exists so the search can be refined at the user’s discretion.

For example:

  • If desired to search for only the smallest of holidays, the Upper holiday area limit might be set at 100.
  • If desired to flag all unpopulated parts of the grid, regardless of their size, the Upper limit would be set at unlimited.
  • Settings in between are used at the discretion of the user, to identify holidays, while also preventing undue clutter in the output.