Registration is open for TensorFlow Dev Summit 2020 Learn more

tfio.experimental.image.decode_hdr

View source on GitHub

Decode a HDR-encoded image to a uint8 tensor.

tfio.experimental.image.decode_hdr(
    contents,
    name=None
)

Args:

  • contents: A Tensor of type string. 0-D. The HDR-encoded image.
  • name: A name for the operation (optional).

Returns:

A Tensor of type float and shape of [height, width, 3] (RGB).