T
T
Toshegg2015-01-16 22:29:09
Java
Toshegg, 2015-01-16 22:29:09

How to posterize an image?

Hello. There was a need to write exactly the same posterization effect as in the online service www.picmonkey.com . You can find the effect when editing an image, in the Effects->Posterize tab.
The question is which algorithm is better to use to reduce the colors in the picture and which algorithm to reduce the detail so that it turns out exactly like there.
I don't need the Fade slider.
OfjtdBxL6os.jpg
This is the original image.
n9AWLjyJyuI.jpg
This is an image with the effect applied.
For my task, it is not enough just to do a decrease in the number of colors, you also need to do a "detail reduction", or "blur", as in the second image.
Thanks in advance for your reply!
UPD:
Without applying the "reduce detail" filter, the picture looks like this, which does not suit me at all.
9db2cb91e6b944009a3cec55969ec4be.jpg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
IceJOKER, 2015-01-16
@IceJOKER

www.jhlabs.com/ip/filters/index.html

E
Eddy_Em, 2015-01-17
@Eddy_Em

1. Requantize color levels.
2. We go through the median filter to remove small details.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question