Home | Trees | Indices | Help |
|
---|
|
Compute some overlap stats from a sequence of binary maps.
When called with a sequence of binary maps (e.g. lists or arrays) the fraction of mask elements that are non-zero in a customizable proportion of the maps is returned. By default this threshold is set to 1.0, i.e. such an element has to be non-zero in all maps.
Three additional maps (same size as original) are computed:
overlap_map: binary map which is non-zero for each overlapping element.
- spread_map: binary map which is non-zero for each element that is
non-zero in any map, but does not exceed the overlap threshold.
ovstats_map: map of float with the raw elementwise fraction of overlap.
All maps are available via class members.
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Apr 23 23:09:35 2012 | http://epydoc.sourceforge.net |