Research Article

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

Algorithm 2

Watershed algorithm.
Input: Lung CT image.
Output: Edge detected image using Watershed algorithm.
begin
 convert image into binary image
 compute the euclidean distance transform of the binary image
 identify the watershed regions from the image
 for each watershed region
  label each pixel with an value
  label with value 0 indicates it doesnot belong to unique threshold region
  watershed pixels are pixels with value 0
 end for
 create a sobel horizondal filter
 filter the input image with the sobel filter to get the regions.
end