Component Analysis & Selection in 3D 

Compute properties of volumetric components.

In[1]:=
Click for copyable input
X

Segment the above volume into two components and background.

In[2]:=
Click for copyable input
X
Out[2]=

Compute properties of the volume for each component.

In[3]:=
Click for copyable input
X
Out[3]=
Out[13]//TraditionalForm=

Select the vegetable with a the larger filled volume.

In[4]:=
Click for copyable input
X
Out[4]=