Please fix all grammar mistakes in this sentence
This new imaging technology must have both the advantages of the non-invasive and invasive imaging.
This new imaging technology must have the advantages of both non-invasive and invasive imaging.