Pattern-based morphometry for vascular analysis