hammerlab / cytokit

Microscopy Image Cytometry Toolkit
Apache License 2.0
115 stars 18 forks source link

Using membrane channel for cell boundary segmentation #26

Closed mdayao closed 4 years ago

mdayao commented 4 years ago

Hi @eric-czech,

I am looking to use a membrane stain channel for segmentation the cell boundaries in CODEX data. I see that there is a "processor: cytometry: membrane_channel_name" in the config file for me to specify the membrane channel to use; however, it is unclear to me what the different parameters under "processor: cytometry: segmentation_params" should be set to in this case.

Additionally, I know that Cytokit uses CellProfiler's U-Net for nuclei segmentation, but what is the method of segmentation for the cell membranes?

Thank you, Monica

eric-czech commented 4 years ago

Hi @mdayao, the membrane segmentation is pretty straightforward and is based on CellProfiler methods that made sense in the context of tissue images. It works like this:

I never documented that anywhere but the code for it is here. This config also shows some settings I used for membrane segmentation in the publication.

mdayao commented 4 years ago

Great, thank you! This is very helpful.