computing matting Laplacian matrix of an Image

Posted by ajith on Stack Overflow See other posts from Stack Overflow or by ajith
Published on 2010-04-08T18:59:23Z Indexed on 2010/04/08 19:03 UTC
Read the original article Hit count: 673

Filed under:
|

hi everyone, i need to compute Laplacian Matrix-L for an image(nXn) in opencv...computing goes as follows.......... dij - 1/|wk|{[1+1/(e/|wk|+s2)][(Ii-µk)*(Ij -µk)]}.... for all(i,j)?wk,summing over k yields (i,j)th element of L. where Here dij is the Kronecker delta,µk and s2k are the mean & variance of intensities in the window wk around k,and |wk| is the number of pixels in this window.wk is 3X3 window... here am not clear about 2 things... 1.what ll be the size of L?nXn or (nXn)X(nXn)??
2.how to select Ii and Ij separately in 2D image?

© Stack Overflow or respective owner

Related posts about opencv

Related posts about image-processing