6e1975a0baffb8307b6f33216ce50f355b7f0658,ilastik/applets/pixelClassification/pixelClassificationDataExportGui.py,PixelClassificationResultsViewer,_initPredictionLayers,#PixelClassificationResultsViewer#Any#,155

Before Change


                num_channels = 1
            if num_channels != len(names) or num_channels != len(colors):
                names = ["Label {}".format(n) for n in range(1, num_channels+1)]
                colors = colortables.default16_new[1:num_channels+1]

        // Use a slicer to provide a separate slot for each channel layer
        opSlicer = OpMultiArraySlicer2( parent=opLane.viewed_operator().parent )
        opSlicer.Input.connect( predictionSlot )

After Change


                drange = channelSlot.meta.drange or (0.0, 1.0)
                predictsrc = LazyflowSource(channelSlot)
                predictLayer = AlphaModulatedLayer( predictsrc,
                                                    tintColor=QColor(*colors[channel]),
                                                    // FIXME: This is weird.  Why are range and normalize both set to the same thing?
                                                    range=drange,
                                                    normalize=drange )
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: ilastik/ilastik
Commit Name: 6e1975a0baffb8307b6f33216ce50f355b7f0658
Time: 2018-08-23
Author: anna.kreshuk@iwr.uni-heidelberg.de
File Name: ilastik/applets/pixelClassification/pixelClassificationDataExportGui.py
Class Name: PixelClassificationResultsViewer
Method Name: _initPredictionLayers


Project Name: ilastik/ilastik
Commit Name: ee1db6a67528a287f01da0b975a074e17676ece5
Time: 2018-08-23
Author: anna.kreshuk@iwr.uni-heidelberg.de
File Name: ilastik/applets/pixelClassification/pixelClassificationDataExportGui.py
Class Name: PixelClassificationResultsViewer
Method Name: _initPredictionLayers


Project Name: ilastik/ilastik
Commit Name: b71894ecb9c6beb4c4b1b6c546bc4f9c79f35aaf
Time: 2013-02-06
Author: kemal.eren@iwr.uni-heidelberg.de
File Name: ilastik/applets/pixelClassification/pixelClassificationGui.py
Class Name: PixelClassificationGui
Method Name: getNextLabelColor


Project Name: ilastik/ilastik
Commit Name: b71894ecb9c6beb4c4b1b6c546bc4f9c79f35aaf
Time: 2013-02-06
Author: kemal.eren@iwr.uni-heidelberg.de
File Name: ilastik/applets/pixelClassification/pixelClassificationGui.py
Class Name: PixelClassificationGui
Method Name: getNextPmapColor