RGBA2Gray
Converts a RGB image to gray scale.
Converts a RGB image to gray scale.
The gray scale value is computed as:
gray = dot(RGBA, vec4(0.29899999, 0.58700001, 0.114, 0.0))
Inputs
in_rgba : ImageView. rgba8ui image.
Outputs
out_gray : ImageView r8ui image. Thre gray scale values are in the range [0, 255]. This image is allocated in the same memory as in_rgba.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.