Hi Simon,
For each pixel in a given image, the luminance is a function of:
- The individual RGB components of that pixel.
- The RGB Working Space currently associated with the image.
So you can't get a single figure as the luminance of a particular image. Instead, for a given RGB color image, you can extract a grayscale image whose pixels have values proportional to the luminance of the corresponding pixels in the original RGB image.
You can, however, read the luminance of each pixel very easily. Just use the ReadoutOptions standard process (Edit > Readout Options) and choose "RGB + L" for "Data / Color Space". In this way you'll obtain readouts of the individual RGB channels plus the luminance when you move the mouse cursor over RGB color images.
Is this what you are looking for?