Borrar filtros
Borrar filtros

How to fill empty parts of a projected image?

1 visualización (últimos 30 días)
Amr
Amr el 6 de Jul. de 2011
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

Respuestas (1)

Sean de Wolski
Sean de Wolski el 6 de Jul. de 2011
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.

Categorías

Más información sobre Image Segmentation and Analysis en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by