50c833f54bddfe663d17a34951bd7bea833aaaea,ilastik/workflows/carving/carvingTools.py,,simple_parallel_ws,#Any#Any#Any#Any#Any#,137
Before Change
nodeSeg -=(nodeSeg.min())
nodeSeg += 1
print("nodeSeg", nodeSeg.dtype, nodeSeg.min(), nodeSeg.max())
comp = nifty.graph.components(rag)
comp.buildFromNodeLabels(nodeSeg)
After Change
res = bincount = numpy.bincount(overseg.ravel().astype("int64"))
n_empty = (res==0).sum() - 1
logger.info("grid rag")
rag = nifty.graph.rag.gridRag(overseg)
logger.info("rag: %s"%str(rag))
n_nodes = rag.numberOfNodes
non_empty_nodes = n_nodes - n_empty
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: ilastik/ilastik
Commit Name: 50c833f54bddfe663d17a34951bd7bea833aaaea
Time: 2018-02-06
Author: thorsten.beier@iwr.uni-heidelberg.de
File Name: ilastik/workflows/carving/carvingTools.py
Class Name:
Method Name: simple_parallel_ws
Project Name: deepdrive/deepdrive
Commit Name: dfd27f0374d3a5ea58a3ae0860ee2649150ac2d0
Time: 2018-10-12
Author: cquiter@gmail.com
File Name: main.py
Class Name:
Method Name: get_latest_model
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 6edace1d1ee1af5a43d93781b7bf299a20440a0d
Time: 2018-09-26
Author: Maria-Irina.Nicolae@ibm.com
File Name: art/visualization.py
Class Name:
Method Name: save_image