Measure Tool and area
Posted: October 19th, 2024, 6:55 am
I need to integrate a few experimental plots presented in form of images. There are several online plot digitisers that are supposed to first calibrate the plot based on scaled axes, and then, help in calculating areas under the curves in the right units. Somehow I didn't have much luck with them and got frustrated, and in addition some of those plots require rectification anyway, so I tried to figure out how to do that all in PWP.
I finally figured out that if I crop the plot image to the origin and the known values on the axes scale and then make a polygon mask aligned to the plotted curve and the axes, there is a Compute Area function in Mask Settings, which allows for easy calculation of what I want, which is the area under the curve (from the proportion of that to the whole cropped rectangular area which is easy to calculate).
It took me a while to figure it out, so my question is: would it be very difficult to implement Area in the Measure Tool to make it even easier to find?
I finally figured out that if I crop the plot image to the origin and the known values on the axes scale and then make a polygon mask aligned to the plotted curve and the axes, there is a Compute Area function in Mask Settings, which allows for easy calculation of what I want, which is the area under the curve (from the proportion of that to the whole cropped rectangular area which is easy to calculate).
It took me a while to figure it out, so my question is: would it be very difficult to implement Area in the Measure Tool to make it even easier to find?