I’m trying to figure out what’s the best way to accomplish an idea for my POV system … as crazy as it may seem. Think of an image mask for this idea. Let’s say I have two images, one that’s full color, and another that’s an 8-bit grayscale. What I’d like to try is use that grayscale as a mask on the full color image and then change some of the areas of the color image with different values, based on that mask. So if parts of the mask are white, take those areas in the full color image and maybe change them to a different color, WHILE retaining the same saturation and value (or brightness, whatever you want to work with), OR applying whatever the mask says.
For example, if the mask has a full white pixel HSV(0,0,255) and the color image has a full red HSV(0, 255, 255), the replacement color will retain that saturation and value. If the mask has a full white but the color image has lesser value or saturation, the replacement color will retain those values. Same if the bitmap has a shade of gray, it needs to apply that to the color image, taking into consideration that it only has to do that if the color image’s pixel is at a higher saturation/value, if it’s lower it stays that way. I’m sure I’m missing other scenarios, possibly problematic ones at that as well.
I can think of some fun things to do with this, but implementing it could cause me to kill off all the remaining braincells I have left.