Configuration
Variable |
Default |
Tunable |
Description |
|---|---|---|---|
offset |
0 |
NO |
The offset from the first datum to use as the output. |
skip |
1 |
NO |
The number of inputs to skip for each output. |
Input Ports
Port name |
Data Type |
Flags |
Description |
|---|---|---|---|
input |
_flow_dependent/tag |
_required |
A stream with extra data at regular intervals. |
Output Ports
Port name |
Data Type |
Flags |
Description |
|---|---|---|---|
output |
_flow_dependent/tag |
_required |
The input stream sampled at regular intervals. |
Pipefile Usage
The following sections describe the blocks needed to use this process in a pipe file.
Pipefile block
# ================================================================
process <this-proc>
:: skip
# The offset from the first datum to use as the output.
offset = 0
# The number of inputs to skip for each output.
skip = 1
# ================================================================
Process connections
The following Input ports will need to be set
# This process will consume the following input ports
connect from <this-proc>.input
to <upstream-proc>.input
The following Output ports will need to be set
# This process will produce the following output ports
connect from <this-proc>.output
to <downstream-proc>.output
Class Description
-
class sprokit::skip_process : public sprokit::process
Generates numbers.
Generates numbers.
{input} A stream with extra data at regular intervals.
{output} The input stream sampled at regular intervals.
{skip} The number of inputs to skip for each output. {offset} The offset from the first datum to use for the output.
{offset} must be less than {skip}.
Public Functions
-
skip_process(kwiver::vital::config_block_sptr const &config)
Constructor.
- Parameters
config – The configuration for the process.
-
~skip_process()
Destructor.
-
class priv
-
skip_process(kwiver::vital::config_block_sptr const &config)