Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Able to "black out" sections of previously generated cell segmentation mask? #33

Open
megleila opened this issue Feb 15, 2024 · 0 comments

Comments

@megleila
Copy link

Hi Bodenmiller lab,

I have been using napari to edit some of my cell segmentation masks generated in mesmer. I have one mask tiff file that actually contains two different tissue types that I would like to be on separate ROIs. I will wind up using steinbock for preprocessing, and therefore want to maintain my mask file dimensions (to match the img folder files' dimensions), and just "black out" or unlabel the section of tissue I do not want to use in order to split into two.

I know how to use napari-crop to crop into two different ROIs, and have tried doing this and padding the image in photoshop to the original dimensions, flattening the image, using ImageJ to ensure the file properties match any other mask file, and steinbock will run, but it misses half of the cells doing this (only even objects are reported in the intensities and all subsequent csv files). This has been an issue I have run into using photoshop (previously posted and closed in the "steinbock" page of Github), and the workaround was by avoiding editing mask files in photoshop and instead using napari.

Is there a napari plug in or otherwise function to accomplish this? I did search through all the napari documentation online, but can't seem to find a clear solution to this issue.

Thank you!
Megan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant