Image Matting

σ=0.5









σ=20









σ=30









σ=40









σ=50









Matlab Source(old)

Updated Source & Images (The result obtained here is with a sigma value of 8).