code: def labeled_min(array, labeled):
      """
      maxs = labeled_min(array, labeled)
  
      Labeled maximum. ``maxs`` will be an array of size ``labeled.max() + 1``, where
      ``maxs[i]`` is equal to ``np.max(array[labeled == i])``.
  
      Parameters
      ----------
      array : ndarray of any type
      labeled : int ndarray
          Label map. This is the same type as returned from ``mahotas.label()``
  
      Returns
      -------
      maxs : 1-d ndarray of ``array.dtype``
      """
      labeled = _as_labeled(array, labeled, "labeled_min")
      maxv = labeled.max() + 1
      output = np.empty(maxv, dtype=array.dtype)
      _labeled.labeled_max_min(array, labeled, output, False)
      return output
  
imports: from __future__ import division
  import numpy
  from .morph import get_structuring_elem
  from .None import _labeled
  from .internal import _get_output
  from ._filters import _checked_mode2int
  import mahotas
label_desc: Use image node_id 14 for calling a global function with example usage: labeled_min(array, labeled) and returns: output