An Algorithm for Calculating Objects’ Shape Features in Binary Images

LIFENG HE, YUYAN CHAO, XIAO ZHAO, BIN YAO, HIDETO KASUYA, ATSUSH OHTA

Abstract


The shape features of objects (connected components) in binary images are very important for image analysis, pattern (object) recognition, and computer vision. Conventional algorithms for calculating the shape features of objects in binary images can only calculate the shape features of objects without holes. This paper presents an algorithm or calculating the shape features of objects in binary images with holes. Based on a contour-tracing-based connected-component labeling algorithm, our proposed algorithm can calculate the number of objects, the number of holes, the Euler number in a binary image, extract the contours of objects, and calculate the area, perimeter, circularity, centroid of each object. Our proposed algorithm is able to make a contribution to image analysis, pattern recognition, and computer vision.

Keywords


algorithm, shape feature, image analysis, pattern recognition, computer vision


DOI
10.12783/dtcse/aiea2017/15047

Refbacks

  • There are currently no refbacks.