phenotypic.util.MedoidResult#
- class phenotypic.util.MedoidResult(index: int, lab: np.ndarray, rank: int, total_delta_e: float, widened: bool)[source]#
Bases:
NamedTupleOutcome of a candidate-restricted medoid search.
- Parameters:
index (int)
lab (numpy.ndarray)
rank (int)
total_delta_e (float)
widened (bool)
- lab#
The winning pixel’s Lab coordinate.
- Type:
- rank#
The winner’s position within the candidate set, 0 being the pixel closest to the geometric median.
- Type:
- widened#
Truewhen the first search put the winner near the edge of the candidate set and the search was re-run with a larger one.- Type:
Methods
__init__Return number of occurrences of value.
Attributes
Alias for field number 0
Alias for field number 1
Alias for field number 2
Alias for field number 3
Alias for field number 4
- count(value, /)#
Return number of occurrences of value.