diff --git a/python/src/operators/py_op_convert_to.cpp b/python/src/operators/py_op_convert_to.cpp index 9100ce3f..e85efb6c 100644 --- a/python/src/operators/py_op_convert_to.cpp +++ b/python/src/operators/py_op_convert_to.cpp @@ -72,7 +72,7 @@ void PyOpConvertTo::Export(py::module& m) { Refer to the rocCV C++ API reference for more information on this operation. Args: - dst (rocpycv.Tensor): The output tensor with gamma correction applied. + dst (rocpycv.Tensor): Output tensor which image results are written to. src (rocpycv.Tensor): Input tensor containing one or more images. alpha (double, optional): Scalar for output data. Defaults to 1.0. beta (double, optional): Offset for the data. Defaults to 0.0. diff --git a/python/src/operators/py_op_gamma_contrast.cpp b/python/src/operators/py_op_gamma_contrast.cpp index 4ebe0930..c6f5e75f 100644 --- a/python/src/operators/py_op_gamma_contrast.cpp +++ b/python/src/operators/py_op_gamma_contrast.cpp @@ -72,7 +72,7 @@ void PyOpGammaContrast::Export(py::module& m) { Refer to the rocCV C++ API reference for more information on this operation. Args: - dst (rocpycv.Tensor): The output tensor with gamma correction applied. + dst (rocpycv.Tensor): Output tensor which image results are written to. src (rocpycv.Tensor): Input tensor containing one or more images. gamma (float): Gamma correction value to apply to the images. stream (rocpycv.Stream, optional): HIP stream to run this operation on. diff --git a/tests/roccv/cpp/src/tests/operators/test_op_bilateral_filter.cpp b/tests/roccv/cpp/src/tests/operators/test_op_bilateral_filter.cpp index f208962c..57239eb2 100644 --- a/tests/roccv/cpp/src/tests/operators/test_op_bilateral_filter.cpp +++ b/tests/roccv/cpp/src/tests/operators/test_op_bilateral_filter.cpp @@ -39,19 +39,20 @@ namespace { * @brief Verified golden C++ model for the bilateral filtering operation on one image. * * @tparam T Vectorized datatype of the image's pixels. + * @tparam BorderMode Border pixel extrapolation method + * @tparam BT Base type of the image data. * @param[in] input Input tensor containing image data. * @param[out] output Output tensor containing normalized image data. * @param[in] diameter Diameter of the work region * @param[in] sigmaColor Sigma component of Gaussian exponent for color difference * @param[in] sigmaSpace Sigma component of Gaussian exponent for pixel spatial distance - * @param[in] borderMode Border pixel extrapolation method * @param[in] borderValue Color for constant border mode * @return None. */ -template > +template > void GenerateGoldenBilateral(std::vector& input, std::vector& output, int32_t batchSize, Size2D imageSize, int diameter, float sigmaColor, float sigmaSpace, T borderValue) { - BorderWrapper src(ImageWrapper(input, batchSize, imageSize.w, imageSize.h), borderValue); + BorderWrapper src(ImageWrapper(input, batchSize, imageSize.w, imageSize.h), borderValue); ImageWrapper dst(output, batchSize, imageSize.w, imageSize.h); using namespace roccv::detail; using Worktype = MakeType>; @@ -112,6 +113,7 @@ void GenerateGoldenBilateral(std::vector& input, std::vector& output, in * @brief Tests correctness of the bilateral filter operator, comparing it against a generated golden result. * * @tparam T Underlying datatype of the image's pixels. + * @tparam BorderMode Border pixel extrapolation method * @tparam BT Base type of the image data. * @param[in] batchSize Number of images in the batch. * @param[in] width Width of each image in the batch. diff --git a/tests/roccv/cpp/src/tests/operators/test_op_convert_to.cpp b/tests/roccv/cpp/src/tests/operators/test_op_convert_to.cpp index 6f14bdbd..225ea6d2 100644 --- a/tests/roccv/cpp/src/tests/operators/test_op_convert_to.cpp +++ b/tests/roccv/cpp/src/tests/operators/test_op_convert_to.cpp @@ -36,8 +36,10 @@ namespace { /** * @brief Verified golden C++ model for the ConvertTo operation. * - * @tparam T Vectorized datatype of the image's pixels. - * @tparam BT Base type of the image's data. + * @tparam SRC_DT Vectorized datatype of the input image's pixels. + * @tparam DEST_DT Vectorized datatype of the output image's pixels. + * @tparam BT_SRC Base type of the input image's data. + * @tparam BT_DEST Base type of the output image's data. * @param[in] input An input vector containing image data. * @param[in] batchSize The number of images in the batch. * @param[in] width Image width.