The DECO sampler tool should be able to sample the opacity/alpha channel too, besides the RGB values.