I have series of images where i wanted to determine the height H.
First I converted it to hsv to obtain the following one -
After this what I can think of is:
Converting magenta color into matrix of pixel and identify distance between min and max value for each value. This way, I will have height at different columns, that I will average later to get average height (since, boundaries are not linear).
If somone can help me with the code or any lead, I will be thankful.