What's the goal?
To separate the stones of the file "stones-separate_a-gif" on individual layers (which is possible with the script) or to crop the stones of the file "dscn1349-jpg" (remove the parts between the stones)?
I have generally worked on this project and also separate each stones in different layers. It is also possible to create a new shape of these stones. Please see the attach file. If you want to further editing please message me.
One question you sepatared one stone by stone what is the way to do it?
Who many time do you need to do the separeted every stones from this photo?
Is possible do some automatic solution to do this work because we habe milion of stones and do it one by one is very dificult job
For your work on the last photo you send to us