darsia.imread_from_optical#
- imread_from_optical(path, time=None, transformations=None, **kwargs)[source]#
Reading functionality from jpg, png, tif format to optical images.
- Parameters:
- path
Pathorlistofsuch Path(s) to image(s).
- timescalar or
listofsuch User-specified physical times; automatically detected from metadata if ‘None’.
- transformations
listofcallables Transformations for 2d images. keyword arguments: date (datetime): custom datetime; otherwise read from metadata color_space (str): custom color space; RGB is assumed otherwise any arguments accepted by Image
- path
- Returns:
OpticalImage(orlistofsuch):convertedimage,listofsuch,or- space-time
image,dependingontheflag‘series’.