- Apply Gaussian blur
- Apply opencv's AddWeight function (to increase grayscale contrast)
- Thresholding (Grayscale -> binary)
- Find Contours
- different contours will be formed including parts such as trachea and skull, as well as background noise
- contours near image edges as well as contour < 2% of images are removed
- Morphology
- Draw lungs area
- Compare the similarity of lungs area with ground-truth by computing Euclidean distance