algorithm help for separating 3d object from ct scan

I did some CT scan on a box of grape, and i need to identify each individual grape bundle. the data is a 3 dimensional logical matrix, in a 3D view will be something looks like the pic attached. and i need to separate each individual grape bundle. I am quite new to image analysis, could someone please give me some hint on how to approach this problem.
enter image description here