tf.image.total_variation

Calculate and return the total variation for one or more images.

Used in the notebooks

Used in the tutorials

The total variation is the sum of the absolute differences for neighboring pixel-values in the input images. This measures how much noise is in the images.