-
craftutils.observation.image.ImageNormalize.__call__(values, clip=
None, invalid=None) Transform values using this normalization.
Parameters¶
- valuesarray-like
The input values.
- clipbool, optional
If True, values outside the [0:1] range are clipped to the [0:1] range. If None then the
clipvalue from the ImageNormalize instance is used (the default of which is False).- invalidNone or float, optional
Value to assign NaN values generated by this class. NaNs in the input
dataarray are not changed. For matplotlib normalization, theinvalidvalue should map to the matplotlib colormap “under” value (i.e., any finite value < 0). If None, then the ImageNormalize instance value is used. This keyword has no effect ifclip=True.