Object segmentation and categorization in olfaction