Warning: This project is deprecated. TensorFlow Addons has stopped development, The project will only be providing minimal maintenance releases until May 2024. See the full announcement here or on github.

tfa.image.equalize

View source on GitHub

Equalize image(s)

@tf.function
tfa.image.equalize(
 image: tfa.types.TensorLike ,
 bins: int = 256,
 name: Optional[str] = None
) -> tf.Tensor

Args

images A tensor of shape (num_images, num_rows, num_columns, num_channels) (NHWC), or (num_rows, num_columns, num_channels) (HWC), or (num_rows, num_columns) (HW). The rank must be statically known (the shape is not TensorShape(None)).
bins The number of bins in the histogram.
name The name of the op.

Returns

Image(s) with the same type and shape as images, equalized.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2023年05月25日 UTC.