AllenNeuralDynamics / aind-ophys-utils

Repo for Ophys utils
MIT License
0 stars 0 forks source link

Discuss neuropil mask shape #6

Open arielleleon opened 1 year ago

arielleleon commented 1 year ago

Current neuropil mask is rectangular: https://github.com/AllenInstitute/AllenSDK/blob/56354b1ea48c2890af1ecdd67fb43306c593d625/allensdk/brain_observatory/roi_masks.py#L261

binary_mask_dilated = morphology.binary_dilation(binary_mask, structure=np.ones((3, 3)), iterations=13) # T/F

Do we care about it being circular?

(Previous issue about saving neuropil mask - closed: https://github.com/AllenInstitute/AllenSDK/issues/2565)