Issues with mask/histoCAT segmentation

Looking for ways to analyze your dataset? Need help with a software package?
Computational image analysis of multiplexed Imaging Mass Cytometry acquisitions
Post Reply
cjauset
Posts: 4
Joined: Mon Aug 24, 2020 1:23 pm

Issues with mask/histoCAT segmentation

Post by cjauset » Mon Aug 24, 2020 1:42 pm

Hello!

I've processed an image through the IMC Segmentation pipeline and I am now trying to analyze the single-cell data in histoCAT.
However, histoCAT only seem to recognize 5 cells in total, so I am not sure if my mask is properly created - it has a gradient of four intensities:
Mask
Mask
Screenshot 2020-08-12 at 17.56.54.png (484.81 KiB) Viewed 1483 times
When I try to visualize channels in histoCAT using the heatmap I get the same gradient I see in the mask:
heatmap
heatmap
Screenshot 2020-08-24 at 14.16.47.png (260.41 KiB) Viewed 1483 times
If I do the step 3 of the segmentation pipeline, however, I get 126k cells. Is there any pipeline/script for downstream analyses using the single-cell measurements from the segmentation pipeline in histoCAT or R?

Thanks!

Best,
Cristina
DenisSchapiro
Posts: 43
Joined: Wed Nov 29, 2017 11:34 am

Re: Issues with mask/histoCAT segmentation

Post by DenisSchapiro » Wed Aug 26, 2020 3:03 pm

Dear Cristina,

I believe that the issue is that you are saving your mask as 16bit and you should create a 32bit mask instead.

If you have more than 65536 single cells a 16bit mask can not provide unique values to each cell. Just save it as a 32bit mask - histoCAT is supporting 32bit masks.

Best

Denis
cjauset
Posts: 4
Joined: Mon Aug 24, 2020 1:23 pm

Re: Issues with mask/histoCAT segmentation

Post by cjauset » Thu Aug 27, 2020 4:08 pm

Ah, of course! Thanks Denis! :D
cjauset
Posts: 4
Joined: Mon Aug 24, 2020 1:23 pm

Re: Issues with mask/histoCAT segmentation

Post by cjauset » Fri Aug 28, 2020 11:40 am

Hi Denis,
I realized CellProfiler can just save 32bit images as floating points, but Histocat can only read masks in int32 or uint32 if I understood correctly. Is there a way to make this compatible?

Thanks again!
Cristina
DenisSchapiro
Posts: 43
Joined: Wed Nov 29, 2017 11:34 am

Re: Issues with mask/histoCAT segmentation

Post by DenisSchapiro » Fri Aug 28, 2020 2:10 pm

It should be able to load the CellProfiler 32bit float mask - or did you try and it fail?
cjauset
Posts: 4
Joined: Mon Aug 24, 2020 1:23 pm

Re: Issues with mask/histoCAT segmentation

Post by cjauset » Fri Aug 28, 2020 2:17 pm

So after the transformation window when loading the images, nothing happens. There's no error message, but it doesn't say that it's loading either, so I assumed it was the mask format.
Post Reply