% c3d -help rms
-rms : Voxelwise vector norm
Syntax: `-rms`
Computes RMS (root mean square) of all images on the stack. The command takes the square of each image on the stack, adds all the squared images and takes the square root of the result. This is very useful for statistical operations. Images must have the same size.
c3d img1.img img2.img img3.img img4.img -rms -o rms.img
The equivalent of this command is
c3d img1.img img2.img img3.img img4.img -foreach -dup -times -endfor \
-accum -add -endaccum -sqrt -o rms.img
In the code, it appears that -rms sets an option for an anti-aliasing filter. It doesn't actually compute the RMS.
In the code, it appears that
-rmssets an option for an anti-aliasing filter. It doesn't actually compute the RMS.