相似图像搜索中颜色相干矢量的计算
pyccv的Python项目详细描述
PYCCV公司 作者:Shunsuke Aihara-http://argmax.jp
计算相似图像搜索的颜色相干矢量
- 日期: 2012年2月
- 说明:
- 计算相似图像搜索的颜色相干矢量
要求:
python2.6 or later numpy scipy PIL
安装:
% python setup.py build % python setup.py install
用法:
>>> import Image >>> import pyccv >>> img = Image.open('/path/to/image') >>> size = 240 # Normalize image size >>> threshold = 25 >>> ccv = pyccv.calc_ccv(img,size,threshold) >>> print ccv.shape # 128 >>> print ccv