9f6a11ac1e97246f29f96692c900c208f5a8310d,ilastik/applets/edgeTraining/edgeTrainingGui.py,EdgeTrainingGui,_handle_live_update_clicked,#EdgeTrainingGui#Any#,221

Before Change


            op.EdgeLabelsDict.setValue( {} )

    def _handle_live_update_clicked(self, checked):
        op = self.topLevelOperatorView
        op.FreezeClassifier.setValue( not checked )

    // Configure the handler for updated probability maps
    // FIXME: Should we make a new Layer subclass that handles this colortable mapping for us?  Yes.

After Change


            op.EdgeLabelsDict.setValue( {} )

    def _handle_live_update_clicked(self, checked):
        if checked:
            probs_layer = self.getLayerByName("Edge Probabilities")
            if probs_layer:
                probs_layer.visible=True

    // Configure the handler for updated probability maps
    // FIXME: Should we make a new Layer subclass that handles this colortable mapping for us?  Yes.

    def _init_probability_colortable(self):
        self.probability_colortable = []
        for v in np.linspace(0.0, 1.0, num=101):
            self.probability_colortable.append( QColor(255*(v), 255*(1.0-v), 0) )
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: ilastik/ilastik
Commit Name: 9f6a11ac1e97246f29f96692c900c208f5a8310d
Time: 2017-05-05
Author: anna.kreshuk@iwr.uni-heidelberg.de
File Name: ilastik/applets/edgeTraining/edgeTrainingGui.py
Class Name: EdgeTrainingGui
Method Name: _handle_live_update_clicked


Project Name: ilastik/ilastik
Commit Name: c7f83e01b01f0c23050b63859dc9c1bf74acbc53
Time: 2013-07-31
Author: webmaster@burgerdev.de
File Name: tests/testOpInterpMissingData.py
Class Name: TestInterpMissingData
Method Name: testDetectorPropagation


Project Name: ilastik/ilastik
Commit Name: 9418883d418ecccd7fe5da4dddffdc01064efb23
Time: 2014-03-26
Author: bergs@janelia.hhmi.org
File Name: ilastik/workflows/carving/carvingWorkflow.py
Class Name: CarvingWorkflow
Method Name: __init__