This file contains some useful wrappers over Yayi basic color processing functions.
Transforms the input RGB UInt8 image into the HLS (hue, luma, saturation) color space. The definition of the HUE used is the one using the l1 norm (see Hanbury).
param im: input RGB image rtype: image returns: same image, in the HLS color space. The hue, luma and saturation channels are in this order
Returns a binary image corresponding to a threshold of the input image expressed in an angular domain. This is basically a threshold function, except the fact that it handles correctly the case angle_in > angle_out of the circular domain.
If angle_in < angle_out, we have:
If angle_in > angle_out, we have
| Parameters: |
|
|---|---|
| Return type: | a “binary” mask image, where 255 indicates the points in the desired interval (0 otherwise) |
Combines the 3 mono-channel images into one 3-channels image