f97672b0f042934aafcc9c324be3204b15f6ca05,ilastik/applets/edgeTraining/opEdgeTraining.py,OpEdgeTraining,setEdgeLabelsFromGroundtruth,#OpEdgeTraining#Any#,119

Before Change


        gt_vol = vigra.taggedView(gt_vol, self.GroundtruthSegmentation.meta.axistags)
        gt_vol = gt_vol.dropChannelAxis()

        rag = self.opRagCache.Output[lane_index].value

        logger.info("Computing edge decisions from groundtruth...")
        decisions = rag.edge_decisions_from_groundtruth(gt_vol, asdict=False)
        edge_labels = decisions.view(np.uint8) + 1

After Change


        For the given lane, read the ground truth volume and
        automatically determine edge label values.
        
        op_view = self.getLane(lane_index)
        
        if not op_view.GroundtruthSegmentation.ready():
            raise RuntimeError("There is no Ground Truth data available for lane: {}".format( lane_index ))

        logger.info("Loading groundtruth for lane {}...".format(lane_index))
        gt_vol = op_view.GroundtruthSegmentation[:].wait()
        gt_vol = vigra.taggedView(gt_vol, op_view.GroundtruthSegmentation.meta.axistags)
        gt_vol = gt_vol.dropChannelAxis()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: ilastik/ilastik
Commit Name: f97672b0f042934aafcc9c324be3204b15f6ca05
Time: 2016-04-10
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/edgeTraining/opEdgeTraining.py
Class Name: OpEdgeTraining
Method Name: setEdgeLabelsFromGroundtruth


Project Name: ilastik/ilastik
Commit Name: c8105b3974fba93097bd28e5ae14a27e5f56c857
Time: 2013-03-14
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/objectExtraction/objectExtractionSerializer.py
Class Name: SerialLabelImageSlot
Method Name: deserialize


Project Name: ilastik/ilastik
Commit Name: c8105b3974fba93097bd28e5ae14a27e5f56c857
Time: 2013-03-14
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/objectExtraction/objectExtractionSerializer.py
Class Name: SerialObjectFeaturesSlot
Method Name: deserialize


Project Name: ilastik/ilastik
Commit Name: f97672b0f042934aafcc9c324be3204b15f6ca05
Time: 2016-04-10
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/edgeTraining/opEdgeTraining.py
Class Name: OpEdgeTraining
Method Name: setEdgeLabelsFromGroundtruth