MATLAB: Luminance component of an image

luminance componentmatlab coder

Hi, I have a frame of a vedio sequence which is a 288*352 double. How can I extract the luminance component of the image? thanks
Related Question