Autosegmentation of the rectum on megavoltage image guidance scans