Colour / intensity transform — non-image targets pass through.
Inherits the identity companion hooks from Transform; the
class states intent and hosts shared photometric helpers.
Parameters
pfloat= 1.0Probability of applying the transform; otherwise the input
passes through unchanged.
Examples
The base of everything that changes colour rather than position —
brightness, contrast, noise, blur. A mask travelling beside the image
is left alone, because nothing moved:
>>> import lucid, lucid.utils.transforms as T
>>> issubclass(T.GaussNoise, T.PhotometricTransform)
True