我想用相邻像素的值填充黑色区域。插值的一种。任何人都可以建议我如何在matlab中做。
试试这个imfill功能,见http://www.mathworks.com/help/toolbox/images/ref/imfill.html
imfill