The problem of matting is always solved by finding the alpha value for each pixel in the image. Many recent methods combine color sampling and affinity definition in different steps, leading to large computational cost. In the proposed method, when the alpha value of a pixel Pi is calculated, the pixel is regarded as a foreground pixel to help calculate its adjacent pixels' alpha values, resulted in a faster solution. This spreading way of traversal also ensures local continuity of foreground object and improves the visual result. Experiments show our Quick Matting can achieve comparable alpha mattes as Robust Matting, while the speed is enhanced by about 25 times.
展开▼
机译:抠图问题始终通过找到图像中每个像素的alpha值来解决。许多最近的方法在不同的步骤中组合了颜色采样和亲和力定义,从而导致大量的计算成本。在提出的方法中,当计算像素P i sub>的Alpha值时,该像素被视为前景像素,以帮助计算其相邻像素的Alpha值,从而加快了求解速度。这种遍历的传播方式还确保了前景对象的局部连续性,并改善了视觉效果。实验表明,我们的Quick Matting可以实现与Robust Matting相当的alpha遮罩,而速度提高了约25倍。
展开▼