I am attempting to measure the thickness of photomultiplier tube glass using ImageJ, and I want to script it in Python to automate the process.
To do this manually, I use the line segment tool to draw a horizontal line through the center of the image (as shown in the picture), then do a radial reslice. I draw line segments through different parts of the image in each slice, and export the plot profile data as a csv file. Is there a way to script this in Python?