This paper proposes an improved technique to calculate the Envelope Correlation Coefficient (ECC) by directly using the spherical mode spectrum of the antenna under test. The technique avoids errors due to numerical pattern integration and simplifies post-processing for near-field measurements. The technique is successfully tested on two different antenna types, in the total number of four MIMO configurations.