autocontrast

class actions.autocontrast.Action(**options)

Bases: core.models.Action

Maximize image contrast

static init()
interface(fields)
static pil(image, amount=100.0, cutoff=0)
Apply a filter - amount: 0-1 - repeat: how many times it should be repeated
actions.autocontrast.autocontrast(image, amount=100.0, cutoff=0)
Apply a filter - amount: 0-1 - repeat: how many times it should be repeated
actions.autocontrast.init()

Previous topic

actions

Next topic

background