A magnetic resonance imaging apparatus acquires first imaging data of a three-dimensional image including a heart, having a plurality of two-dimensional first imaging area data superimposed one on top of another in parallel, and having a resolution at least in one direction different from a resolution in two other directions. A first axis is detected expressed in three dimensions relating to the heart from the three-dimensional first imaging data. A first vector is calculated passing through the first axis and having at least a predetermined resolution. First image data is generated on a plane passing through the first axis and the first vector from the first imaging data and a second axis is detected relating to the heart from the first image data, the second axis being a higher precision axis.