So I'm going to give a little background on the project I'm working on. First of all I'm trying to use python's image processing libraries to determine how the area of a certain element changes with respect to time. Basically I have a black ramp that a powder will creep up as a function of time. I plan to quantify this by converting to monochrome/grey scale then computing the average pixel change for the region of interest.
Now to my actual question, what is the best way to basically crop an image based on this boundary? I want to remove as much unnecessary data from system. The images are going to change slightly from one test run to another so automating it is necessary.
Posting a good reference for these sorts of projects would actually be preferred. Thanks!