abeb059b0543978d7596693c76a88ab9bd4db9a4,mahotas/labeled.py,,labeled_max,#,399
Before Change
-------
mins : 1-d ndarray of ``array.dtype``
"""
_check_array_labeled(array, labeled, "labeled_max")
maxv = labeled.max() + 1
output = np.empty(maxv, dtype=array.dtype)
_labeled.labeled_max_min(array, labeled, output, True)
return output
After Change
-------
mins : 1-d ndarray of ``array.dtype``
"""
labeled = _as_labeled(array, labeled, "labeled_max")
maxv = labeled.max() + 1
output = np.empty(maxv, dtype=array.dtype)
_labeled.labeled_max_min(array, labeled, output, True)
return output
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: luispedro/mahotas
Commit Name: abeb059b0543978d7596693c76a88ab9bd4db9a4
Time: 2014-05-10
Author: luis@luispedro.org
File Name: mahotas/labeled.py
Class Name:
Method Name: labeled_max
Project Name: luispedro/mahotas
Commit Name: abeb059b0543978d7596693c76a88ab9bd4db9a4
Time: 2014-05-10
Author: luis@luispedro.org
File Name: mahotas/labeled.py
Class Name:
Method Name: labeled_min
Project Name: luispedro/mahotas
Commit Name: abeb059b0543978d7596693c76a88ab9bd4db9a4
Time: 2014-05-10
Author: luis@luispedro.org
File Name: mahotas/labeled.py
Class Name:
Method Name: labeled_sum