nifty.ground_truth

Functions

nifty.ground_truth.overlap(segmentation, groundTruth)

factory function for nifty.ground_truth.Overlap

create an instance of nifty.ground_truth.Overlap which can be used to project ground truth to some segmentation / over-segmentation

Parameters:
  • segmentation (numpy.ndarray) – The segmentation / over-segmentation
  • groundTruth (numpy.ndarray) – The ground truth as node labeling.
Returns:

[description] [type]

nifty.ground_truth.seg2dToLiftedEdges()
nifty.ground_truth.seg3dToCremiZ5Edges()
nifty.ground_truth.segToEdges2D()
nifty.ground_truth.thinSegFilter(seg, sigma, radius=None)

Classes

class nifty.ground_truth.Overlap
bleeding()
counts()
differentOverlaps()
overlapArrays()
overlapArraysNormalized()
class nifty.ground_truth.RandError
cutsInPrediction
cutsInTruth
error
falseCuts
falseJoins
index
joinsInPrediction
joinsInTruth
precisionOfCuts
precisionOfJoins
recallOfCuts
recallOfJoins
trueCuts
trueJoins
class nifty.ground_truth.VariationOfInformation
value
valueFalseCut
valueFalseJoin