CNTK icon indicating copy to clipboard operation
CNTK copied to clipboard

Semantic segmentation?

Open bulatGH opened this issue 10 years ago • 4 comments

Hi, I was wondering if you implemented semantic segmentation? Or maybe there is a way to provide 2D images as networks output?

bulatGH avatar Sep 06 '16 17:09 bulatGH

I think the easiest way to do that is to use to image readers, one for the input and one for the label image and to ignore label field. If you have multiple output classes, you might have to transform your label image into a 1-of-N encoding for each pixel, if you want to use a per-pixel softmax. I've sucessfully used a similar approach for semantic segmenation of multiple organs in 3D CT images, with a custom reader, but you should be able to get the same thing in 2D with just the readers provided.

e-thereal avatar Oct 07 '16 08:10 e-thereal

Thank you for the answer, I was also thinking if it would be reasonable to convert segmentation into a vector and make predictions using it.

Actually, I was wondering if you have released your code sample for 3D image segmentation?

bulatGH avatar Oct 07 '16 17:10 bulatGH

Everything is still work in progress so we haven't released any code yet.

e-thereal avatar Oct 10 '16 06:10 e-thereal

2D images as network output is doable with composite readers today. Since this thread is very old, I'm closing it.

We haven't made a segmentation example yet but we will soon. Please follow our iteration plan for when it will be coming.

cha-zhang avatar Jul 15 '17 01:07 cha-zhang