lentil.Image.shape

property Image.shape

Plane dimensions computed from mask.

Returns (mask.shape[1], mask.shape[2]) if mask has ndim == 3. Returns None if mask is None.