Skip to content

transforms.{RandomAdjustSharpness,RandomPosterize}: p parameter Β #5606

@georggrab

Description

@georggrab

πŸ“š The doc issue

The docstring of parameter p for RandomAdjustSharpness says:

p (float) – probability of the image being color inverted. Default value is 0.5

Suggest a potential alternative/fix

p (float) – probability of the image being sharpened. Default value is 0.5

Also for RandomPosterize, RandomSolarize, but RandomSolarize actually performs a color inversion so it's OK there.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions