Skip to content

Commit

Permalink
* optimize api instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
lxowalle committed Jun 25, 2024
1 parent 9c10494 commit 18c08b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/vision/include/maix_image.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 18c08b8

Please sign in to comment.