Functions for producing topological features from lung x-ray images, using Perseus software by Vidit Nanda, available at http://people.maths.ox.ac.uk/nanda/perseus/index.html.
You must have the Perseus executable in your $PATH folder in order for the code to work.