Skip to content

Commit 32b9dc4

Browse files
committed
Update Down-Scale Limitation
1 parent 97208dd commit 32b9dc4

File tree

1 file changed

+3
-0
lines changed
  • modules/fastcv/include/opencv2/fastcv

1 file changed

+3
-0
lines changed

modules/fastcv/include/opencv2/fastcv/scale.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,14 @@ namespace fastcv {
1717
/**
1818
* @brief Down-scales the image using specified scaling factors or dimensions.
1919
* This function supports both single-channel (CV_8UC1) and two-channel (CV_8UC2) images.
20+
*
2021
* @param _src The input image data, type CV_8UC1 or CV_8UC2.
2122
* @param _dst The output image data, type CV_8UC1 or CV_8UC2.
2223
* @param dsize The desired size of the output image. If empty, it is calculated using inv_scale_x and inv_scale_y.
2324
* @param inv_scale_x The inverse scaling factor for the width. If dsize is provided, this parameter is ignored.
2425
* @param inv_scale_y The inverse scaling factor for the height. If dsize is provided, this parameter is ignored.
26+
*
27+
* @note If dsize is not specified, inv_scale_x and inv_scale_y must be strictly positive.
2528
*/
2629
CV_EXPORTS_W void resizeDown(cv::InputArray _src, cv::OutputArray _dst, Size dsize, double inv_scale_x, double inv_scale_y);
2730

0 commit comments

Comments
 (0)