I have a large dataset of nifti scans, and each scan has a corresponding tumor segmentation mask also as a nifti file.
There is also a brain stripping mask which is for the entire dataset.
How can I use numpy or nilearn to use the brain stripping mask to 'remove' or set all pixels not in the mask to 0? How can I also use numpy to enhance / brighten those areas on the original scan where the segmentation mask is indicating a tumor?