/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-roccv/checkouts/latest/include/op_remap.hpp Source File

/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-roccv/checkouts/latest/include/op_remap.hpp Source File#

2 min read time

Applies to Linux

rocCV: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-roccv/checkouts/latest/include/op_remap.hpp Source File
op_remap.hpp
Go to the documentation of this file.
1 
22 #pragma once
23 #include <hip/hip_runtime.h>
24 #include <operator_types.h>
25 
26 #include <i_operator.hpp>
27 
28 #include "core/tensor.hpp"
29 
30 namespace roccv {
35 class Remap final : public IOperator {
36  public:
42  Remap();
43 
48  ~Remap();
97  void operator()(hipStream_t stream, const roccv::Tensor& input, const roccv::Tensor& output,
98  const roccv::Tensor& map, const eInterpolationType inInterpolation,
99  const eInterpolationType mapInterpolation, const eRemapType mapValueType, const bool alignCorners,
100  const eBorderType borderType, const float4 borderValue, eDeviceType device = eDeviceType::GPU);
101 };
102 } // namespace roccv
Interface class for all roccv operators.
Definition: i_operator.hpp:31
Class for managing the remap operator.
Definition: op_remap.hpp:35
Remap()
Constructs an Remap object.
void operator()(hipStream_t stream, const roccv::Tensor &input, const roccv::Tensor &output, const roccv::Tensor &map, const eInterpolationType inInterpolation, const eInterpolationType mapInterpolation, const eRemapType mapValueType, const bool alignCorners, const eBorderType borderType, const float4 borderValue, eDeviceType device=eDeviceType::GPU)
Construct a new Remap object. The object can be used to remap the pixels in an image according to a n...
~Remap()
Destroy the Remap object.
Definition: tensor.hpp:37
Definition: strided_data_wrap.hpp:33
eInterpolationType
Definition: operator_types.h:30
eBorderType
Definition: operator_types.h:36
eRemapType
Definition: operator_types.h:43
eDeviceType
Describes the device type. Used to determine where Tensor data should be allocated and whether operat...
Definition: util_enums.h:69