所谓细化就是经过一层层的剥离,从原来的图中去掉一些点,但仍要保持原来的形状,直到得到图像的骨架。骨架,可以理解为物体的中轴,例如一个长方形的骨架是它的长方向上的中轴线;正方形的骨架是它的中心点;圆的骨架是它的圆心,直线的骨架是它自身,孤立点的骨架也是自身。得到了骨架,就相当于突出物体的主要结构和形状信息,去除了多余信息,根据这些信息可以实现图像上特征点的检测,如端点,交叉点和拐点。
- Thinning is the process of peeling off some points from the original image, but keeping the original shape until you get the skeleton of the image.The skeleton can be understood as the central axis of the object. For example, a rectangular skeleton is the central axis of its rectangular upward;The skeleton of the square is its center point;The skeleton of the circle is its center, the skeleton of the line is itself, and the skeleton of the outliers is itself.The obtained skeleton is equivalent to the main structure and shape information of the protruding object, and the redundant information can be removed, according to which the detection of feature points on the image can be realized, such as endpoints, intersections and inflection points.
result:
接下来就是对骨骼的进一步处理,正在研究这部分功能,代码还不够全,暂时不进行公开展示。请见谅!!!
- The next step is the further processing of the skeleton. This part of function is being studied. The code is not complete enough, so it will not be displayed publicly for the time being.Please forgive me!!!
I hope I can help you,If you have any questions, please comment on this blog or send me a private message. I will reply in my free time.