πŸ“„ White NoiseΒΆ

augmentors.image.white_noise

Explanation about PixelNoiseΒΆ

A class that overlays a mask of randomly colored nxn squares across an image based on a specified noise rate.

Attributes: - square_size (int): Size of each square in pixels. - noise_rate (float): Proportion of the image that should be affected by noise (0 to 1).

Methods: - process_image(image): Adds the random square mask to the provided image and returns the modified image.

Read more about catalog usage here.