Global Curvature Analysis and Segmentation of Volumetric Data Sets Using Trivariate B-spline Functions