How to fill empty parts of a projected image?
2 次查看(过去 30 天)
显示 更早的评论
When i projected a 3D model on a 2D plan (Perspective projection) the result of the projection appeared as the following image.
and i need to fill empty points in this image to look like this one
i wonder that i can find a good way to fill this points with a professional way using any image processing algorithms using matlab
0 个评论
回答(1 个)
Sean de Wolski
2011-7-6
First, read this (the whole thread, but mainly Steven's pictorial example) so you know what kind of ill-posed problem you're up against.
I would think using the distance transform ( bwdist ) would be a good start. You could get the distance xform, threshold it and then erode the whole thing by a disk strel with a diameter (or radius?) the value of the threshold.
More!
You might also be able to do a delaunay triangulation and then only keep small area triangles.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!