This is a very simple macro works with imagej to convert green pixels to non-"one" values and all other colors are zeros.