Skip to main content
Fig. 4 | Plant Methods

Fig. 4

From: Isolating phyllotactic patterns embedded in the secondary growth of sweet cherry (Prunus avium L.) using magnetic resonance imaging

Fig. 4

Algorithm to determine the approximate tree radius in each slice. a To estimate the radius of the trunk in each slice we first apply the Sobel Edge Detection algorithm to reveal areas of abrupt change in pixel intensity. b Then we threshold the image with \(\alpha\) equal to the 99th percentile of the values given by edge detection. c Finally we compute the median distance from the pith location to all of the pixels in the binary image to estimate the radius. d To estimate the overall radius for the trunk, we compute the median of all radii for each slice. The dotted line represents the median

Back to article page