A corner detection algorithm is proposed for planar shapes based on a new c
urvature Function. The main novelty of the function is that its calculation
parameters are not constant, but adapt ta the curvature at each point of t
he contour. The process consists in estimating the maximum length of the co
ntour, yielding no significant discontinuities at each of its points in ord
er to calculate the incremental adaptive chain code of the contour at those
points. This improved chain code provides a precise curvature index that e
nables a better characterisation of the contour to be made. Thus, all corne
rs can be efficiently detected even if working with poor signal to noise ra
tios.