Mechanical analysis of lung CT images using nonrigid registration