type
status
date
Jun 21, 2023 09:35 AM
slug
summary
tags
category
icon
password
首先, 用wand 我还不会优雅的画histogram
如下, 因为img.histogram 是iter 类型, 没对应的items 输出.
My guess is that the function used to build the dict keys in __iter__
(PixelGetColorAsString
) is not the same as the one used in __getitem__
(PixelGetColorAsNormalizedString
).
用cv2 就很简单了
但出的图是下面这样:
没有像ps这样的效果,
这个在plt中不知叫什么效果?