Statistical analysis of tongue images for feature extraction and diagnostics