Fill the occlusion in 3D point cloud data

6 ビュー (過去 30 日間)
gayathri sankaran
gayathri sankaran 2023 年 4 月 26 日
回答済み: Ranjeet 2023 年 6 月 1 日
Hi all,
Currently am working in calcualting volume for the point cloud data. Am using depth data 'z' as an important parameter for volume calculation. Due to occlusion some point doesnt have z value and the corresponding x and y values also will not be there. I will attach the ss for this case. My need is to fill the occluded region with its neighbour (can be mean, min or max).

回答 (1 件)

Ranjeet
Ranjeet 2023 年 6 月 1 日
Hi Gayathri,
I assume that there are invalid points in the point cloud you generated. Invalid points will be of form ‘[Inf, Inf, Inf]’ or ‘[NaN, NaN, NaN]’. I suggest you use ‘2D interpolation’ from scatteredInterpolant.
It works in two stages:
  1. First you create an ‘interpolant’ using the [x, y] coordinates where valid distance (z) value is available.
  2. Create query point/s ‘[xq, yq]’ and use the interpolant object from step 1 to get ‘zq’ (the expected distance) corresponding to the query points.
Here '[xq, yq]' points are to be decided by the user.
You may also want to refer to following resource on 3D point cloud interpolation -

カテゴリ

Help Center および File ExchangePoint Cloud Processing についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by