使用Python,我必须:
Test_Image
和Reference_image
成5×5块, image1(1,1)
with image2(1,1)
. 到目前为止,我已经使用计算了整个图像的直方图 hist=numpy.histogram(image,bins=256)
我想分割图像,然后计算所有这些块的直方图.我也想用Bhattacharya的系数来衡量相似性.
任何人都可以指导我如何通过这个?提前致谢 :)
python image-processing computer-vision python-idle python-2.7