My area of expertise is LabVIEW, but I am sure there are equivalent functions in ComponentWorks.
There are functions that will extract one of the color planes as a greyscale image. You will have to decide which color plane you want. Intensity is usually a good choice.
Bruce
Bruce Ammons
Ammons Engineering