convert_image(src, format)ΒΆ

Convert an image to a different format

Inputs

name type default description
src image   Source image
format int   One of FORMAT_RGB, FORMAT_LAB, FORMAT_HSV, FORMAT_HLS, FORMAT_GREY

Outputs

name type default description
dst image   Destination image