yeah,its a segmentation task,but what different is,the segmentation produce a confidence map with channel number=class number,and we finally use max(pixel) to get the largest probability’s location channel.for instance,if  we got a [0.8,0.2] on one pixel, so we consider it belongs to label 0.but I want to get the confidence map.I don’t do any judgement operation.only produce a confidence.
Just like this figure i scratched from a paper, the blue and red part,and some other color shows the confidence. but it do receive a binary ground truth.