I downloaded afni on windows (wsl) using the steps given on the afni website and i still see 256 and 257. This is the comment i get.
3dmask_tool -input bin_rest_binarized*+orig.HEAD -prefix mask_inter -frac 1.0
++ processing 28 input dataset(s), NN=2...
++ padding all datasets by 0 (for dilations)
++ frac 1 over 28 volumes gives min count 28
++ voxel limits: 238386 clipped, 183 survived, 664060 were zero
++ writing result mask_inter...
But there is a very big difference. When running on OSC server i get the following results as statistics :
0 1 256 257
655015 9466 9514 228634
whereas on afni on my computer i get :
0 1 256 257
902285 178 162 4
This is with the same files.