Colormap per window?

I’m doing an image processing app with multiple 2D images concurrently displayed in separate windows where the current scheme re-renders a window everytime the contrast / brightness changes (for that image). Is there any way to do this with a colormap / lut and not affect other windows with imagery?

Has anybody written a guide to image processing with OpenGL?