From 18c08b803de71786311a99242501eae65c3780bf Mon Sep 17 00:00:00 2001 From: lxowalle Date: Tue, 25 Jun 2024 14:31:56 +0800 Subject: [PATCH] * optimize api instruction --- components/vision/include/maix_image.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/vision/include/maix_image.hpp b/components/vision/include/maix_image.hpp index 3652f3be..c4ca6146 100644 --- a/components/vision/include/maix_image.hpp +++ b/components/vision/include/maix_image.hpp @@ -615,7 +615,7 @@ namespace maix::image * @brief Sets all pixels in the image to black or white depending on if the pixel is inside of a threshold in the threshold list thresholds or not. * @note For GRAYSCALE format, Lmin and Lmax range is [0, 255]. For RGB888 format, Lmin and Lmax range is [0, 100]. * @param thresholds You can define multiple thresholds. - * For GRAYSCALE format, you can use {{Lmin, Lmax}, ...} to define one or more thresholds, and Lmin and Lmax range is [0, 255]. + * For GRAYSCALE format, you can use {{Lmin, Lmax}, ...} to define one or more thresholds. * For RGB888 format, you can use {{Lmin, Lmax, Amin, Amax, Bmin, Bmax}, ...} to define one or more thresholds. * Where the upper case L,A,B represent the L,A,B channels of the LAB image format, and min, max represent the minimum and maximum values of the corresponding channels. * @param invert If true, the thresholds will be inverted before the operation. default is false.