Hello, fslstats parses the input options sequentially, also to match fslmeants you probably want to use the -m option: fslstats test.nii.gz -k mask.nii.gz -m should give the same result as: fslmeants -i test.nii.gz -m mask.nii.gz Many Regards Matthew > Dear All: > > I have tried following two commands to acquire mean FA values within > a mask and I expected that the two commands should generate same > mean values. > > fslstats input_img -M -k my_mask > > or > > fslmeants -i input_img -m my_mask > > I got two very different means from these two commands. It will be > highly appreciated if anyone can make suggestions. > > > Best Regards > > Jiansong > > The information contained in this message may be privileged and > confidential. If you are NOT the intended recipient, please notify > the sender immediately with a copy to [log in to unmask] and > destroy this message. Please be aware that email communication can > be intercepted in transmission or misdirected. Your use of email to > communicate protected health information to us indicates that you > acknowledge and accept the possible risks associated with such > communication. Please consider communicating any sensitive > information by telephone, fax or mail. If you do not wish to have > your information sent by email, please contact the sender immediately. > =============== > Jiansong Xu, M.D., Ph.D. > Dept. of Psychiatry > Yale Medical School > 2 Church St., Suite 215 > New Haven, CT 06519 > Tel: 203-785-5306 > Fax: 203-737-3591 >