我有很多灰度图像,因为我必须提取特征进行比较。如何在opencv(更适合python版本)中计算形状伸长率(基本形状描述符: http ://www.site.uottawa.ca/~mstoj075/Publications_files/elongation-JMIV.pdf)以进行特征提取?
示例图片:1) https://docs.google.com/file/d/0ByS6Z5WRz-h2cE1wTGJwRnE5YUU/edit 2) https://docs.google.com/file/d/0ByS6Z5WRz-h2UTFCaVEzaHlXRVk/edit 3) https:// /docs.google.com/file/d/0ByS6Z5WRz-h2NDgySmJ6NnpId0U/edit