Public Member Functions | |
| Impl (const std::string &configuration_path) | |
| void | process (const cv::Mat &image, cv::Mat &result) |
| cv::Size | resolveInputSize (const cv::Size &source_size) const |
| const cv::Mat & | smoothOutput (const cv::Mat &source) |
Public Attributes | |
| cv::Size | active_input_size |
| BackendState | backend |
| int | bilateral_diameter = 5 |
| double | bilateral_sigma_color = 5.0 |
| double | bilateral_sigma_space = 5.0 |
| bool | bilateral_smoothing = false |
| cv::Mat | blob |
| cv::Mat | converted |
| bool | dynamic_shape = false |
| cv::String | input_name |
| cv::Size | input_size {224, 224} |
| cv::Scalar | mean {0.0, 0.0, 0.0} |
| bool | multiple_outputs = false |
| cv::dnn::Net | net |
| cv::String | output_name |
| double | scale = 1.0 / 255.0 |
| int | shape_alignment = 4 |
| cv::Mat | smoothed |
| bool | swap_rb = true |
| cv::Mat | work |
Definition at line 308 of file edge_dnn.cpp.
|
inlineexplicit |
Definition at line 330 of file edge_dnn.cpp.
References bilateral_diameter, bilateral_sigma_color, bilateral_sigma_space, bilateral_smoothing, dynamic_shape, input_name, input_size, mean, multiple_outputs, net, output_name, scale, shape_alignment, and swap_rb.
|
inline |
Definition at line 459 of file edge_dnn.cpp.
References active_input_size, backend, blob, converted, input_name, mean, multiple_outputs, net, output_name, resolveInputSize(), scale, smoothOutput(), swap_rb, and work.
|
inlinenodiscard |
Definition at line 430 of file edge_dnn.cpp.
References dynamic_shape, input_size, and shape_alignment.
Referenced by process().
|
inlinenodiscard |
Definition at line 451 of file edge_dnn.cpp.
References bilateral_diameter, bilateral_sigma_color, bilateral_sigma_space, bilateral_smoothing, and smoothed.
Referenced by process().
| cv::Size acmxvk::dnn::GenericOnnxProcessor::Impl::active_input_size |
Definition at line 312 of file edge_dnn.cpp.
Referenced by process().
| BackendState acmxvk::dnn::GenericOnnxProcessor::Impl::backend |
Definition at line 310 of file edge_dnn.cpp.
Referenced by process().
| int acmxvk::dnn::GenericOnnxProcessor::Impl::bilateral_diameter = 5 |
Definition at line 319 of file edge_dnn.cpp.
Referenced by Impl(), and smoothOutput().
| double acmxvk::dnn::GenericOnnxProcessor::Impl::bilateral_sigma_color = 5.0 |
Definition at line 320 of file edge_dnn.cpp.
Referenced by Impl(), and smoothOutput().
| double acmxvk::dnn::GenericOnnxProcessor::Impl::bilateral_sigma_space = 5.0 |
Definition at line 321 of file edge_dnn.cpp.
Referenced by Impl(), and smoothOutput().
| bool acmxvk::dnn::GenericOnnxProcessor::Impl::bilateral_smoothing = false |
Definition at line 318 of file edge_dnn.cpp.
Referenced by Impl(), and smoothOutput().
| cv::Mat acmxvk::dnn::GenericOnnxProcessor::Impl::blob |
Definition at line 325 of file edge_dnn.cpp.
Referenced by process().
| cv::Mat acmxvk::dnn::GenericOnnxProcessor::Impl::converted |
Definition at line 327 of file edge_dnn.cpp.
Referenced by process().
| bool acmxvk::dnn::GenericOnnxProcessor::Impl::dynamic_shape = false |
Definition at line 316 of file edge_dnn.cpp.
Referenced by Impl(), and resolveInputSize().
| cv::String acmxvk::dnn::GenericOnnxProcessor::Impl::input_name |
Definition at line 323 of file edge_dnn.cpp.
| cv::Size acmxvk::dnn::GenericOnnxProcessor::Impl::input_size {224, 224} |
Definition at line 311 of file edge_dnn.cpp.
Referenced by Impl(), and resolveInputSize().
| cv::Scalar acmxvk::dnn::GenericOnnxProcessor::Impl::mean {0.0, 0.0, 0.0} |
Definition at line 314 of file edge_dnn.cpp.
| bool acmxvk::dnn::GenericOnnxProcessor::Impl::multiple_outputs = false |
Definition at line 322 of file edge_dnn.cpp.
| cv::dnn::Net acmxvk::dnn::GenericOnnxProcessor::Impl::net |
Definition at line 309 of file edge_dnn.cpp.
| cv::String acmxvk::dnn::GenericOnnxProcessor::Impl::output_name |
Definition at line 324 of file edge_dnn.cpp.
| double acmxvk::dnn::GenericOnnxProcessor::Impl::scale = 1.0 / 255.0 |
Definition at line 313 of file edge_dnn.cpp.
| int acmxvk::dnn::GenericOnnxProcessor::Impl::shape_alignment = 4 |
Definition at line 317 of file edge_dnn.cpp.
Referenced by Impl(), and resolveInputSize().
| cv::Mat acmxvk::dnn::GenericOnnxProcessor::Impl::smoothed |
Definition at line 328 of file edge_dnn.cpp.
Referenced by smoothOutput().
| bool acmxvk::dnn::GenericOnnxProcessor::Impl::swap_rb = true |
Definition at line 315 of file edge_dnn.cpp.
| cv::Mat acmxvk::dnn::GenericOnnxProcessor::Impl::work |
Definition at line 326 of file edge_dnn.cpp.
Referenced by process().