you might try using a function like polyfit in matlab to fit a polynomial of whatever degree you find appropriate to your edge, or parts of it. from the function that is returned to you, you can analytically compute the curvature.
hope this is useful.
Sonya