I made a first attempt manually cutting each stone one by one as shown above (yes, it was hard work. I would not want to repeat it).
However I do not know how to produce the results I need in matlab.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!