16cac9e30ff145e06267a97a4c0370310f076a6e,ilastik/applets/objectExtraction/opObjectExtraction.py,OpRegionFeatures3d,_extract,#OpRegionFeatures3d#Any#Any#,212
Before Change
axes = Axes()
image = np.asarray(image, dtype=np.float32)
labels = np.asarray(labels, dtype=np.uint32)
slc3d = [slice(None)] * 4 // FIXME: do not hardcode
slc3d[axes.c] = 0
After Change
for pfeats in all_features.itervalues():
for key, value in pfeats.iteritems():
if value.shape[0] != nobj:
raise Exception("feature {} does not have enough rows, {} instead of {}".format(key, value.shape[0], nobj))
// because object classification operator expects nobj to
// include background. FIXME: we should change that assumption.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: ilastik/ilastik
Commit Name: 16cac9e30ff145e06267a97a4c0370310f076a6e
Time: 2013-08-16
Author: anna.kreshuk@iwr.uni-heidelberg.de
File Name: ilastik/applets/objectExtraction/opObjectExtraction.py
Class Name: OpRegionFeatures3d
Method Name: _extract
Project Name: yzhao062/pyod
Commit Name: fec5e567f52fec1ec897431c3108c290746dcd10
Time: 2018-06-03
Author: yuezhao@cs.toronto.edu
File Name: examples/feat_bagging_example.py
Class Name:
Method Name:
Project Name: dPys/PyNets
Commit Name: 27e4a648a96c76de6b7ed24ea95ea76ee17f623d
Time: 2020-01-02
Author: dpisner@utexas.edu
File Name: pynets/registration/register.py
Class Name: FmriReg
Method Name: atlas2t1wmni_align