Skip to content

Commit

Permalink
zeroed coil sensitivity outside of the object to wipe the noise
Browse files Browse the repository at this point in the history
  • Loading branch information
evgueni-ovtchinnikov committed Jul 12, 2023
1 parent a9321ab commit 1bb1b11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xGadgetron/cGadgetron/gadgetron_data_containers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2808,7 +2808,7 @@ void CoilSensitivitiesVector::calculate_csm
for (unsigned int x = 0; x < nx; x++, i++) {
float r = img(x, y, z);
float s;
if (r != 0.0)
if (r != 0.0 && object_mask[i])
s = (float)(1.0 / r);
else
s = 0.0;
Expand Down

0 comments on commit 1bb1b11

Please sign in to comment.