Spectral Action Beyond the Weak-Field Approximation