<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/models/blob/v2.20.0/official/vision/ops/preprocess_ops_3d.py#L429-L449) |

Normalizes images.

    tfm.vision.preprocess_ops_3d.normalize_image(
        frames: tf.Tensor,
        zero_centering_image: bool,
        dtype: tf.dtypes.DType = tf.float32
    ) -> tf.Tensor

<br />

<br />

<br />

| ## Args ||
|---|---|
| `frames` | A Tensor of numbers. |
| `zero_centering_image` | If True, results are in \[-1, 1\], if False, results are in \[0, 1\]. |
| `dtype` | Type of output Tensor. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A Tensor of same shape as the input and of the given type. ||

<br />