-
Notifications
You must be signed in to change notification settings - Fork 34
Description
As the automatic cell segmentation did not work in SAW count, we manually labeled cells in Napari using the initial SN.tif (DAPI) and SN_IF.tif (FB28_IF) images. In Napari, all three images overlap and all files have the same sizes.
In the StereoMap4 Image Processing step, I loaded the SN.tif DAPI and SN_IF.tif FB28_IF files, and then opened the manually labeled SN_mask.tif file. However, the mask appears smaller and shifted relative to the images.
Then I registered images according to 254 issue and did:
path/saw/saw-8.2.1/anaconda/bin/python path/saw/saw-8.2.1/lib/register/register/main.pyc
-i SN_DAPI.tif,SN_IF_mask16.tif
-o . -w False --sn D05508E2
-v path/outs/feature_expression/D05508E2.raw.gef
This generated SN_DAPI_regist.tif. I then used SN_DAPI_regist.tif in StereoMap, but the mask still appears smaller and shifted.
What should I do to properly use my cell segmentation mask?
Another thing I noticed is that although each cell was manually drawn and labeled in Napari, and the .tif file was converted to a binary .tif because StereoMap only accepts binary mask files, the cells appear merged in StereoMap.
Why does this happen?