Inheritance diagram for nipy.neurospin.graph.field:
Field processing (smoothing, morphology) routines. Here, a field is defined as arrays [eA,eB,eD,vF] where. (eA,eB,eC) define a graph and vF a dunction defined on the edges of the graph Author: Bertrand Thirion (INRIA Futurs, Orsay, France), 2004-2006.
Bases: nipy.neurospin.graph.graph.WeightedGraph
This is the basic field structure, which contains the weighted graph structure plus a matrix of data (the ‘field’) -field is an array of size(n,p) where n is the number of vertices of the graph and p is the field dimension
Look for all the local maxima of a field INPUT : - refdim is the field dimension over which the maxima are looked after OUTPUT: - depth: a labelling of the vertices such that
depth[v] = 0 if v is not a local maximum depth[v] = 1 if v is a first order maximum ... depth[v] = q if v is a q-order maximum