Does anyone know of a plugin that will transform a greyscale image into a graded transparency, where black remains 100% opaque, white is 0% opaque, and shades of grey become "shades" of transparency?

My son says it's "to apply an alpha channel to a bitmap that is derived from the source bitmap's luminosity".