Accurate segmentation of lung fields in chest radiography is an essential part of computer-aided detection. We proposed a segmentation method.by use of feature images, gray and shape cost, and modification method. The outline of lung fields in the tr