Hi,
I am looking for a way to find the intensity along a line (yellow line circled in blue), but instead of the (X,Y) coordinates that correspond to the distance from the line beginning (blue arrows), I wish to obtain the coordinates that correspond to the pixels of the entire image with a given origin. For example, if my image is a 4X4 ( raws X columns ) matrix, and I draw a line from (3,1) to (3,3), I wish to get the following Table:
X; Y: intensity
1; 3; somthing
2; 3; somthing
3; 3; somthing
I noticed that there is a similar post:
However, if I use the given script, I need to insert the coordinates manually every single time (sorry if I did not understand the code correctly, I am not familiar with the syntax)