Some Equivalence Relation between Persistent Homology and Morphological Dynamics