/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-roccv/checkouts/latest/include/op_gamma_contrast.hpp Source File#
2 min read time
Applies to Linux
op_gamma_contrast.hpp
Go to the documentation of this file.
Class for managing the Gamma Contrast operator.
Definition: op_gamma_contrast.hpp:35
GammaContrast()
Default constructor.
Definition: op_gamma_contrast.hpp:40
void operator()(hipStream_t stream, const roccv::Tensor &input, const roccv::Tensor &output, float gamma, eDeviceType device=eDeviceType::GPU)
Executes the Gamma Contrast operation. The operation adjusts the gamma contrast on the input images.
Definition: tensor.hpp:37
Definition: strided_data_wrap.hpp:33
eDeviceType
Describes the device type. Used to determine where Tensor data should be allocated and whether operat...
Definition: util_enums.h:69
@ GPU