Determining rind width. A) An original stalk transection image. B) Image after binarization. C) Black pith mask determined from boundary found as shown in Figure 2 imposed in the binarized transection to segment the rind (white). D) Rind segment overlayed on the image in A. The width of the rind is the average distance between each point on the pith boundary and its nearest point on the sample perimeter.