If you have two classes 0, 1. Now if an image belongs 15% to 0 and 85% to 1, you can interpolate the output class as 0*.15 + 1*.85 which is same as using the probability of it belonging to class 1 as the class label.