An integrated segmentation and shape based classification scheme for distinguishing adenocarcinomas from granulomas on lung CT