Fully automatic segmentation of femurs with medullary canal definition for low resolution CT scans