threshold value maps created using various sub-image size and
interpolation grid size. The algorithm resolves the frequent
problem of segmenting object from X-ray image using global
thresholding approach.Without substantial modification, the
algorithm can be applied to X-ray inspection of various
agricultural products having uneven thickness and variable
densities