Create alpha mask from intensity
What about using a mix node with the lighten blend mode?



If you want more control, then you can generate a grayscale map and use that to set the alpha with a set alpha node: