Results and Discussion: The concentration profiles of TMs after the formation of the lithium transition metal oxide were fully quantified using the workflow outlined in Figure . The particles were first binarized and separated for each field of view through segmentation transforms based on morphological features (Figure ). The resulting location of the particle surface was used to determine Ni, Co, and Mn profiles as a function of depth. For this purpose, Euclidean Distance Mapping (EDM) transformed the calculated particle surface into an intensity gradient map with normalized pixel intensity equal to increasing distance (Figure ).