I want to take the image of an irregular object , say
and then I want to convert the elevation of the points into a spatial signal. To make my point clear: the signal would be 'height of the object's surface from an assumed datum' vs 'distance'.
For example
this is the kind of signal that I want to construct from my image.
What software/tool can I use to convert my image to it's signal equivalent?