Thank you for your response.
Your input has been immensely helpful in extracting the information I need. However, I'm aiming to achieve an output in the format {x, y, z}. For instance, for pixels at x: 0 and y: 0, the output would ideally be {0, 0, 980}. Is this feasible?
Alternatively, I'm considering an array where the position corresponds to the x and y values, and the value at that position represents the z coordinate.
I'd appreciate any insights or suggestions on this matter.
Warm regards, [Your Name]