Adobe Photoshop-style posterization and OpenCV

前端 未结 3 1538
南笙
南笙 2020-12-09 04:47

It seems Adobe Photoshop does posterization by quantizing each color channel separately, based on the number of levels specified. So for example, if you specify 2 levels, t

3条回答
  •  悲哀的现实
    2020-12-09 05:43

    The coolest "posterization" I have seen uses Mean Shift Segmentation. I used the code from the author's GitHub repo to create the following image (you need to uncomment line 27 of Maincpp.cpp to perform the segmentation step).

提交回复
热议问题