Thickness and 3D-Contour measurement of a pumpkin, as well as the flatness measurement of its cut surfaces