Page 170 - Handbook of Deep Learning in Biomedical Engineering Techniques and Applications
P. 170
Chapter 6 Plant leaf disease classification based on feature selection 159
Figure 6.2 A small set of our data set.
Figure 6.3 Approach using deep learning.
dimension. Rescaling is performed to compress the original im-
ages to lower-resolution ones, 256 256 pixels to be exact.
First, the original image is segmented and converted to binary
one to find the minimum bounding box. The vertical size of the
bounding box was used to rescale to 256 pixels to ensure the
top and bottom leaf fit exactly to the top and bottom of the scaled
image. The horizontal size of the bounding box will be used to
shift the leaf image into the exact center of the scaled image
(Fig. 6.4).