Added userdata['trace'] property containing contour information