I explored a little bit and came up with this very rough staff segmentation algorithm, the front panel of which is below:
Basically the way it works is that it takes the horizontal line profile for each "row" of the image, and tries to find areas where the image is whitest. The code is in the Google Drive under "Explorations".
I explored a little bit and came up with this very rough staff segmentation algorithm, the front panel of which is below:
Basically the way it works is that it takes the horizontal line profile for each "row" of the image, and tries to find areas where the image is whitest. The code is in the Google Drive under "Explorations".