Segmenting Lung Fields in CT Image Using Legendre Moments and Active Contour