I wanted to be able to replace a range of color with a single flat color.
I'm mostly dealing with black and white / grayscale images.
I tried to use the Curve adjustments tool, but the problem is that it doesn't allow you to create straight lines
Here's a random simple example:
Here I want to do three things:
Replace all colors with values ranging from 0% to 26% with a flat color of 24% value.
Replace all colors with values ranging from 26% to 76% with a flat color of 60% value.
Replace all colors with values ranging from 76% to 100% with a flat color of 89% value.
And by flat color, I mean no gradients, smooth transitions, just a completely flat even color
And as you can see, the curve tool just does not allow me to create straight lines, making it almost impossible to achieve what I want to do
I tried to use a Gradient Map too, but it doesn't allow me to replace the colors I want with flat colors
Is there any fast and practical way for me to achieve that? Preferably in Photoshop, but if it's necessary to use other softwares, I'm open to that.
E D I T:
The type of images I'm working on is grayscaled photographs and realistic paintings
Here is an example of the kind of image I'm working with:
(sorry can't embed, not enough reputation points, see my comment below)
This is what I want to achieve:
To clarify, I don't need it to be the edges to be so clean, neat and well-designed. I'm only using this as a fast and speedy visualization tool, and not to create a final product. So speed is important