Research Article

Adaptive Bacteria Colony Picking in Unstructured Environments Using Intensity Histogram and Unascertained LS-SVM Classifier

Algorithm 1

Entropy based mean shift filtering algorithm.
Let be the input image. Let be the filtered image. Pixel   R 5.
Let ent.0 be the entropy initial value, ent.1 be the next iteration of ent.0, and ent.2 be the next value of ent.1.
Let erras be the absolute value of the difference between the first two iterations. Let edset be the
thresholding as iterations stopping criteria. Our algorithm comprises the steps listed below:
 (1) Initialize , , , , .
 (2) While , then
   (2.1) Filtering image based on mean shift. Store the image in .
    (2.2) Calculating entropy from the  and store the image in .
    (2.3) Entropy is used to calculate the absolute difference which is obtained in the previous step; .
    (2.4) Update the parameters; and .
    (2.5) Calculate the mean shift which is carried out until entropy convergence.
 (3) Store which is calculated , here    is the spatial information and   is the color range information.