Algorithm 1: Pseudo-code for CT lung scans preprocessing. Input: Input image I(n,m) Output: Output image K(n,m) begin Adjust image intensity values Convert the image into a binary image(B) For all I pixels: IF the grayscale value < the image Mean, THEN, the pixel value = 0 ELSE...