# Revision history [back]

### How to make a blur image into only several colors averagely?

I want to make a blur image into only several colors averagely.
For instance, make this photo

into ---->

Is there an operation in opencv-python to realize such effect?

I tried a lot ways as MedianBlur() and division, but fails.

 2 None berak 28515 ●4 ●75 ●286

### How to make a blur image into only several colors averagely?

I want to make a blur image into only several colors averagely.
For instance, make this photo

into ---->

Is there an operation in opencv-python to realize such effect?

I tried a lot ways as MedianBlur()medianBlur() and division, but fails.

 3 None berak 28515 ●4 ●75 ●286

### How to make a blur image into only several colors averagely?

I want to make a blur image into only several colors averagely.
For instance, make this photo

into ---->

Is there an operation in opencv-python to realize such effect?

I tried a lot ways as medianBlur() and division, but fails.

 4 None berak 28515 ●4 ●75 ●286

### How to make a blur image into only several colors averagely?

I want to make a blur image into only several colors averagely.
For instance, make this photo

into ---->

Is there an operation in opencv-python to realize such effect?

I tried a lot ways as medianBlur() and division, but fails.

 5 None berak 28515 ●4 ●75 ●286

### How to make a blur image into only several colors averagely?

I want to make a blur image into only several colors averagely.
For instance, make this photo

into ---->

Is there an operation in opencv-python to realize such effect?

I tried a lot ways as medianBlur() and division, but fails.