1. One or more computer storage media storing computer-useable instructions that, when used by one or more computing devices, cause the one or more computing devices to perform operations to facilitate real-time matting of an image, the method comprising: receiving a set of boundary points for a segmentation, the segmentation separating the foreground from the background of an image; generating points of a band by expanding and contracting the boundary points of the segmentation in the background and foreground regions; estimating background and foreground colors for each pixel in the band; based at least on the estimated background and foreground colors, determining an opacity and true foreground colors for the image; and based at least on the opacity and true foreground colors, providing an output image, the output image being processed with real-time matting.