CoreFlow 1.0.0
A modern orchestration and execution runtime
|
The Internal Threshold API. More...
Namespaces | |
namespace | coreflow |
The internal representation of a vx_array. | |
Functions | |
void | ownReleaseThresholdInt (vx_threshold *threshold) |
Releases an internally referenced threshold. | |
coreflow::Threshold::Threshold (vx_context context, vx_reference scope) | |
Construct a new Threshold object. | |
coreflow::Threshold::~Threshold () | |
Destroy the Threshold object. | |
static vx_threshold | coreflow::Threshold::createThreshold (vx_context context, vx_enum thresh_type, vx_enum data_type) |
Create a threshold object. | |
void | coreflow::Threshold::setBinaryValue (vx_int32 value) |
Set the binary threshold value. | |
void | coreflow::Threshold::setBinaryValueUnion (vx_pixel_value_t value) |
Set the binary threshold value as a pixel value union. | |
void | coreflow::Threshold::setLowerBound (vx_int32 lower) |
Set the lower bound for range threshold. | |
void | coreflow::Threshold::setLowerBoundUnion (vx_pixel_value_t lower) |
Set the lower bound for range threshold as a pixel value union. | |
void | coreflow::Threshold::setUpperBound (vx_int32 upper) |
Set the upper bound for range threshold. | |
void | coreflow::Threshold::setUpperBoundUnion (vx_pixel_value_t upper) |
Set the upper bound for range threshold as a pixel value union. | |
void | coreflow::Threshold::setTrueValue (vx_int32 true_value) |
Set the true value for output. | |
void | coreflow::Threshold::setTrueValueUnion (vx_pixel_value_t true_value) |
Set the true value for output as a pixel value union. | |
void | coreflow::Threshold::setFalseValue (vx_int32 false_value) |
Set the false value for output. | |
void | coreflow::Threshold::setFalseValueUnion (vx_pixel_value_t false_value) |
Set the false value for output as a pixel value union. | |
vx_int32 | coreflow::Threshold::binaryValue () const |
Get the binary threshold value. | |
vx_pixel_value_t | coreflow::Threshold::binaryValueUnion () const |
Get the binary threshold value as a pixel value union. | |
vx_int32 | coreflow::Threshold::lowerBound () const |
Get the lower bound for range threshold. | |
vx_pixel_value_t | coreflow::Threshold::lowerBoundUnion () const |
Get the lower bound for range threshold as a pixel value union. | |
vx_int32 | coreflow::Threshold::upperBound () const |
Get the upper bound for range threshold. | |
vx_pixel_value_t | coreflow::Threshold::upperBoundUnion () const |
Get the upper bound for range threshold as a pixel value union. | |
vx_int32 | coreflow::Threshold::trueValue () const |
Get the true value for output. | |
vx_pixel_value_t | coreflow::Threshold::trueValueUnion () const |
Get the true value for output as a pixel value union. | |
vx_int32 | coreflow::Threshold::falseValue () const |
Get the false value for output. | |
vx_pixel_value_t | coreflow::Threshold::falseValueUnion () const |
Get the false value for output as a pixel value union. | |
vx_enum | coreflow::Threshold::dataType () const |
Get the data type of the threshold. | |
vx_enum | coreflow::Threshold::threshType () const |
Get the threshold type. | |
vx_df_image | coreflow::Threshold::inputFormat () const |
Get the input image format. | |
vx_df_image | coreflow::Threshold::outputFormat () const |
Get the output image format. | |
static vx_bool | coreflow::Threshold::isValidThresholdType (vx_enum thresh_type) |
Validate threshold type. | |
static vx_bool | coreflow::Threshold::isValidThresholdDataType (vx_enum data_type) |
Validate theshold data type. | |
static vx_bool | coreflow::Threshold::isValidThresholdFormat (vx_df_image format) |
Validate threshold format. | |
vx_status | coreflow::Threshold::copyOutput (vx_pixel_value_t *true_value_ptr, vx_pixel_value_t *false_value_ptr, vx_enum usage, vx_enum user_mem_type) |
Copy the threshold output to/from user memory. | |
vx_status | coreflow::Threshold::copyRange (vx_pixel_value_t *lower_value_ptr, vx_pixel_value_t *upper_value_ptr, vx_enum usage, vx_enum user_mem_type) |
Copy the threshold range to/from user memory. | |
vx_status | coreflow::Threshold::copyValue (vx_pixel_value_t *value_ptr, vx_enum usage, vx_enum user_mem_type) |
Copy the threshold value to/from user memory. | |
The Internal Threshold API.
vx_int32 coreflow::Threshold::binaryValue | ( | ) | const |
#include <vx_threshold.h>
Get the binary threshold value.
vx_pixel_value_t coreflow::Threshold::binaryValueUnion | ( | ) | const |
#include <vx_threshold.h>
Get the binary threshold value as a pixel value union.
vx_status coreflow::Threshold::copyOutput | ( | vx_pixel_value_t * | true_value_ptr, |
vx_pixel_value_t * | false_value_ptr, | ||
vx_enum | usage, | ||
vx_enum | user_mem_type ) |
#include <vx_threshold.h>
Copy the threshold output to/from user memory.
true_value_ptr | Pointer to the true value |
false_value_ptr | Pointer to the false value |
usage | Memory usage type (read/write) |
user_mem_type | The type of memory (host, opencl, etc.) |
vx_status coreflow::Threshold::copyRange | ( | vx_pixel_value_t * | lower_value_ptr, |
vx_pixel_value_t * | upper_value_ptr, | ||
vx_enum | usage, | ||
vx_enum | user_mem_type ) |
#include <vx_threshold.h>
Copy the threshold range to/from user memory.
lower_value_ptr | Pointer to the lower value |
upper_value_ptr | Pointer to the upper value |
usage | Memory usage type (read/write) |
user_mem_type | The type of memory (host, opencl, etc.) |
vx_status coreflow::Threshold::copyValue | ( | vx_pixel_value_t * | value_ptr, |
vx_enum | usage, | ||
vx_enum | user_mem_type ) |
#include <vx_threshold.h>
Copy the threshold value to/from user memory.
value_ptr | Pointer to the value |
usage | Memory usage type (read/write) |
user_mem_type | The type of memory (host, opencl, etc.) |
|
static |
#include <vx_threshold.h>
Create a threshold object.
context | The context associated with this obj |
thresh_type | The threshold type |
data_type | The data type |
vx_enum coreflow::Threshold::dataType | ( | ) | const |
vx_int32 coreflow::Threshold::falseValue | ( | ) | const |
vx_pixel_value_t coreflow::Threshold::falseValueUnion | ( | ) | const |
#include <vx_threshold.h>
Get the false value for output as a pixel value union.
vx_df_image coreflow::Threshold::inputFormat | ( | ) | const |
|
static |
#include <vx_threshold.h>
Validate threshold format.
format | Threshold format to validate |
vx_int32 coreflow::Threshold::lowerBound | ( | ) | const |
#include <vx_threshold.h>
Get the lower bound for range threshold.
vx_pixel_value_t coreflow::Threshold::lowerBoundUnion | ( | ) | const |
#include <vx_threshold.h>
Get the lower bound for range threshold as a pixel value union.
vx_df_image coreflow::Threshold::outputFormat | ( | ) | const |
void ownReleaseThresholdInt | ( | vx_threshold * | threshold | ) |
#include <vx_threshold.h>
Releases an internally referenced threshold.
[in] | threshold | The pointer to a threshold structure. |
void coreflow::Threshold::setBinaryValue | ( | vx_int32 | value | ) |
#include <vx_threshold.h>
Set the binary threshold value.
value | The binary threshold value |
void coreflow::Threshold::setBinaryValueUnion | ( | vx_pixel_value_t | value | ) |
#include <vx_threshold.h>
Set the binary threshold value as a pixel value union.
value | The binary threshold value as a pixel value union |
void coreflow::Threshold::setFalseValue | ( | vx_int32 | false_value | ) |
void coreflow::Threshold::setFalseValueUnion | ( | vx_pixel_value_t | false_value | ) |
#include <vx_threshold.h>
Set the false value for output as a pixel value union.
false_value | The false value as a pixel value union |
void coreflow::Threshold::setLowerBound | ( | vx_int32 | lower | ) |
#include <vx_threshold.h>
Set the lower bound for range threshold.
lower | The lower bound value |
void coreflow::Threshold::setLowerBoundUnion | ( | vx_pixel_value_t | lower | ) |
#include <vx_threshold.h>
Set the lower bound for range threshold as a pixel value union.
lower | The lower bound value as a pixel value union |
void coreflow::Threshold::setTrueValue | ( | vx_int32 | true_value | ) |
void coreflow::Threshold::setTrueValueUnion | ( | vx_pixel_value_t | true_value | ) |
#include <vx_threshold.h>
Set the true value for output as a pixel value union.
true_value | The true value as a pixel value union |
void coreflow::Threshold::setUpperBound | ( | vx_int32 | upper | ) |
#include <vx_threshold.h>
Set the upper bound for range threshold.
upper | The upper bound value |
void coreflow::Threshold::setUpperBoundUnion | ( | vx_pixel_value_t | upper | ) |
#include <vx_threshold.h>
Set the upper bound for range threshold as a pixel value union.
upper | The upper bound value as a pixel value union |
coreflow::Threshold::Threshold | ( | vx_context | context, |
vx_reference | scope ) |
#include <vx_threshold.h>
Construct a new Threshold object.
context | The context associated with this obj |
scope | The parent ref of this obj |
vx_enum coreflow::Threshold::threshType | ( | ) | const |
vx_int32 coreflow::Threshold::trueValue | ( | ) | const |
vx_pixel_value_t coreflow::Threshold::trueValueUnion | ( | ) | const |
#include <vx_threshold.h>
Get the true value for output as a pixel value union.
vx_int32 coreflow::Threshold::upperBound | ( | ) | const |
#include <vx_threshold.h>
Get the upper bound for range threshold.
vx_pixel_value_t coreflow::Threshold::upperBoundUnion | ( | ) | const |
#include <vx_threshold.h>
Get the upper bound for range threshold as a pixel value union.
coreflow::Threshold::~Threshold | ( | ) |
#include <vx_threshold.h>
Destroy the Threshold object.