brain image analysis snippets