Techniques used to diagnose pancreatic cancer include ultrasound, computerized tomography (CT) scans, magnetic resonance imaging (MRI) and, sometimes, positron emission tomography (PET) scans.