Text this: generalized approach to characterize optical properties of natural objects.