Optional Sliders

Optional Sliders Module

This file contains a class requried for creating optional sliders, such as the ones controlling label transparency or extraction tolerance.

Usage:

To use this module, import it and instantiate is as you wish:

from Paint4Brains.GUI.OptionalSliders import OptionalSliders

optional_sliders.addWidget(OptionalSliders(parameters))

class Paint4Brains.GUI.OptionalSliders.OptionalSliders(win)

OptionalSliders class

A class requried for creating optional sliders, such as the ones controlling label transparency or extraction tolerance.

Args:
win (class): ImageViewer class
extraction_probability()

Extraction probability

Function which controls controls the slider setting for defining the extraction tolerance.

transparency_set()

Transparency set

Function which controls the slider setting the transparency of the labels.

update_intensity()

Intensity Update

A Method that keeps track of the intensity values displayed on the Logarithmic Intensity Widget It updates the appearance of the brain on the viewer as intensity is changed