I want a way to extract the lungs from a folder containing a lot of x-ray images using Python, for example the image below is the left section is the input and the right sec