HF RL Explorer

MAINT Add return type annotations to public functions in nilearn.image

MAINT Add return type annotations to public functions in nilearn.image: a task in life-science-SWE1.0 (Harbor dataset). Title: MAINT Add return type annotations to public functions in nilearn.image

The task

**Title:** [MAINT] Add return type annotations to public functions in nilearn.image

Part of scalingX/life-science-SWE1.0.