is there any function which can be used for automatic segment detection which would return regions usable for multiple crop?
For example if I have sequence of PNGs with transparent backgrounds like this:

I want to get the two figures as 2 cropped images (and data with positions of these cropped images in the original).
I know how to do the detection myself, but first want to ask if it's not already possible with ImageMagick itself.
Thank you,
Oldes