3.2. Sub-image size and interpolation grid size
Another concern in the selection of optimum operation
parameters for the adaptive segmentation procedure is the
computation time and the stability of the algorithm. Two key
parameters, namely, the operational sub-image size and the
interpolation grid sizemay affect the performance of the adaptive
segmentation algorithm. To test their effects, the X-ray
image of a guava in Fig. 10awas processed using the sub-image
sizes of 32×32, 24×24, 18×18, and 12×12 in combination
with the interpolation grid sizes from 1×1 to 32×32. The
computation time and threshold value map of each condition
were recorded for analyses. Fig. 12 showsthe effect operational
sub-image size and interpolation grid size on the computation
time. The computation time increases with the increase
of sub-image size. On the other hand, increasing the interpolation
grid size reduces the computation time. However, there
is no significant difference in the computation time when the
Fig.