A CAD system pre-analyzes a medical image to automatically determine whether contrast agent was introduced into the patient before forming that image. The pressure sensor is low in measurement error and small in floating capacitance and leakage current and good in characteristic. A middle portion in the gate length direction of the second gate electrode has a thickness smaller than the thickness of the first gate electrode.