Time-scale energy based analysis of contours of real-world shapes