with a blue background. The enlarged details in the
red square are relatively reasonable, while those in the
green square are missing in the composite image.
The performance of these matting algorithms de-
pends on the positions and the quantity of the user
inputs. In particular, when a user draws only a few
strokes, the performance can deteriorate drastically.
An example of the calculation time is as follows.
Using a 2.66 GHz CPU with 3 GB RAM, an image
size of 341×455 pixels (the stuffed rabbit in Figure 3)
requires about 23 sec for the classification by SVM
and about 17 sec for the subsequent estimation by
BP and sampling without specific programming op-
timization.
5 CONCLUSION
This paper has proposed the improvement of the cost
function for image matting. A key contribution is the
use of neighboring information in terms of higher di-
mensional vectors, instead of considering the infor-
mation in a single pixel. In addition, we enhanced the
discrimination between foreground and background
with SVM. We obtained high-quality matting results
even when a foreground object and background had
similar colors.
Our future work includes further improvements
to the cost function and estimation process for fore-
ground and background colors, in order to obtain
more desirable results. Setting the parameter values
also influences matting results. In this study, we man-
ually set optimal values for λ
M
and λ
D
, which may
not be implemented in practice. Statistical inference
methods, such as the maximum of marginal likelihood
(Tanaka, 2002) could be used for this parameter esti-
mation. Another problem is the optimal setting of the
parameters σ and a
k
i
in the SVM formulation. Cross
validation method is one promising solution for this
problem.
composite image
enlarged
(composite)
enlarged
(original)
Figure 4: An example of composite images with blue back-
ground. It can be seen that some details in the original im-
age are missing in the composite image.
ACKNOWLEDGEMENTS
The study was supported by the advanced surveil-
lance technology project of MEXT. The authors thank
T. Kurita and N. Ichimura for their helpful discus-
sions.
REFERENCES
Berman, A., Vlahos, P., and Dadourian, A. (2000). Com-
prehensive method for removing from an image the
background surrounding a selected object. In U. S.
Patent, 6, 134, 345.
Chuang, Y. Y., Curless, B., Salesin, D., and Szeliski, R.
(2001). A bayesian approach to digital matting. In
Proc. of IEEE CVPR. pp. 264-271.
Felzenszwalb, P. F. and Huttenlocher, D. P. (2004). Efficient
belief propagation for early vision. In Proc. of IEEE
CVPR. pp. 261-268.
Grady, L., Schiwietz, T., Aharon, S., and Westermann, R.
(2005). Random walks for interactive alpha-matting.
In Proc. of VIIP05. pp. 423-429.
Levin, A., Linschinski, D., and Weiss, Y. (2006). A closed
form solution to natural image matting. In Proc. of
IEEE CVPR. pp. 61-68.
Lowe, D. (2004). Distinctive image features from scale-
invariant keypoints. In International Journal of Com-
puter Vision. vol. 60, pp. 91-110.
Muller, K. R., Mika, S., Ratsch, G., Tsuda, K., and
Scholkopf, B. (2001). An introduction to kernel-based
learning algorithms. In IEEE Trans. on Neural Net-
works. vol. 12, pp. 181-201.
Pearl, J. (1988). Probabilistic Reasoning in Intelligent Sys-
tems. Morgan-Kauffman, San Francisco.
Ruzon, M. A. and Tomasi, C. (2000). Alpha estimation in
natural images. In Proc. of IEEE CVPR. pp. 18-25.
Smith, A. R. and Blinn, J. F. (1996). Blue screen matting. In
Proc. of the 23rd annual conf. on Computer graphics
and interactive techniques. pp. 259-268.
Sun, J., Jia, J., Tang, C. K., and Shum, H. Y. (2004). Poisson
matting. In Proc. of ACM SIGGRAPH. pp. 315-321.
Sun, J., Zheng, N. N., and Shum, H. Y. (2003). Stereo
matching using belief propagation. In IEEE Trans.
on PAMI. vol. 25, pp. 787-800.
Tanaka, K. (2002). Theoretical study of hyperparameter
estimation by maximization of marginal likelihood
in image restoration by means of cluster variation
method. In Electronics and Communications in Japan.
vol. 85, pp. 50-62.
Wang, J. and Cohen, M. F. (2005). An iterative optimization
approach for unified image segmentation and matting.
In Proc. of IEEE ICCV. pp. 936-943.