There is the "Automask" button in an image viewer window, which you can try -- to access it, you have to popup the right-click hidden menu attached to the intensity scale bar to the right of the image, and find that button. A lot of other little-used image viewing features are relegated to this dusty attic of AFNI.