Manipulating location matrix in the Point cloud data

3 ビュー (過去 30 日間)
Rishabh Mittal
Rishabh Mittal 2019 年 10 月 30 日
回答済み: JESUS DAVID ARIZA ROYETH 2019 年 10 月 30 日
I am working with the pointCloud object with folloign properties:
Location: [622894×3 single]
Color: [622894×3 uint8]
Normal: []
Count: 622894
XLimits: [-13.0343 13.7152]
YLimits: [-3.3536 7.7093]
ZLimits: [-15.0000 -4.7615]
I would like to multiple the location matrix by -1. I am unable to acces the location matrix to apply this multiplication operation.

回答 (2 件)

Sai Bhargav Avula
Sai Bhargav Avula 2019 年 10 月 30 日
編集済み: Sai Bhargav Avula 2019 年 10 月 30 日
You should be able to access it by
loc = PtcloudObject.Location

JESUS DAVID ARIZA ROYETH
JESUS DAVID ARIZA ROYETH 2019 年 10 月 30 日
Hi, you can pass the information to another object :
ptCloudold = pointCloud(rand(100,3,'single'));
newptcloud= pointCloud(ptCloudold.Location*-1,'Color',ptCloudold.Color,'Normal',ptCloudold.Normal)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by