<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/augment.py#L813-L818) |

Solarize the input image(s).

    tfm.vision.augment.solarize(
        image: tf.Tensor, threshold: int = 128
    ) -> tf.Tensor