nvidia.dali.experimental.dynamic.hue#

nvidia.dali.experimental.dynamic.hue(
input,
/,
*,
batch_size=None,
device=None,
dtype=None,
hue=None,
image_type=None,
)#

Changes the hue level of the image.

This operator allows sequence inputs and supports volumetric data.

Supported backends
  • ‘cpu’

  • ‘gpu’

Parameters:

input (Tensor/Batch ('HWC', 'FHWC', 'DHWC')) – Input to the operator.

Keyword Arguments:
  • dtype (nvidia.dali.types.DALIDataType, optional) –

    Output data type.

    If not set, the input type is used.

  • hue (float or Tensor/Batch of float, optional, default = 0.0) –

    The hue change in degrees.

    Supports per-frame inputs.

  • image_type (nvidia.dali.types.DALIImageType, optional, default = DALIImageType.RGB) – The color space of the input and the output image.

  • batch_size (int, optional) – The batch size to broadcast input tensors to. Ignored for batch inputs.

  • device (device-like, optional) – The device to use for the operation. Must not conflict with the device of the inputs.