How to use a texture colour to define a transmission map
Sure thing.
Just add a ColorRamp and increase the contrast.
You can also set it to Constant (for maximum contrast) if you don't mind jagged edges.