Research Article

Ant Colony Optimization Approaches to Clustering of Lung Nodules from CT Images

Algorithm 1

Otsu algorithm.
Input: Lung CT image.
Output: Edge detected image using Otsu algorithm.
begin
for each pixel of image
 find weight of pixel for both foreground and background
 find mean of weights for both foreground and background
 find variance of the pixels
end for
calculate within-class variance for all the pixels
maximum value of within-class variance gives the edge pixels.
end