myimagelib.myImageLib.maxk¶
- myimagelib.myImageLib.maxk(array, num_max)¶
Sort a numerical array and return the maximum
num_max
elements.- Parameters
array (1-d numerical array) – input array
num_max (int) – number of maximal elements to return
- Returns
index of maximal elements
- Return type
int array