openalea.eartrack.binarisation.decision_tree_threshold_phenoarch_2

openalea.eartrack.binarisation.decision_tree_threshold_phenoarch_2(bgr)[source]

Implementation of a decision tree

Platform specific method, for top image in cabin 1 of Phenoarch :param bgr: numpy.ndarray of integers

3-D array
Returns:
result : numpy.ndarray 2-D of same shape as bgr
Binary image representing True or False value of each pixel threw decision tree