Automated lung segmentation in digitized posteroanterior chest radiographs