<< cv_resize ComputerVision cv_rgb2gray_path >>

ComputerVision >> ComputerVision > cv_rgb2gray_image

cv_rgb2gray_image

Convert colour image into grayscale

Calling Sequence

image_ret= cv_rgb2gray_image(image)

Arguments

image

Image that is to be converted into grayscale

image_ret

Image is read from the path and returned to output variable "image_ret"

Description

Convert the RGB image into grayscale

Image is provided by user, then the image is converted into grayscale and grayscale image is returned to the user via output variable. Converting rgb image into grayscale using this function preserves depth of the image.

Examples

image=cv_rgb2gray_image(input_image)

See Also


Report an issue
<< cv_resize ComputerVision cv_rgb2gray_path >>