matlabによる連続したDepth, Colorの画像を取得
以下のサイト
https://qiita.com/koooooo/items/499f5419400a907dbba4
を参考にmatlab2021aを用いてIntelRealSenseの連続したDepth, Color画像の取得がしたいと考えています。しかしプログラムを引用してMatlabで実行すると以下のエラー
行: 12、列: 86
式が無効です。関数の呼び出しまたは変数のインデックス付けにはかっこを使用してください。そうでない場合、区切り記号の不一致をチェックしてください。
が生じます。おそらくプログラム中の
depth_image = reshape(depth_data',[3,depth.get_width(),depth.get_height()]),[3 2 1]);
color_image = reshape(color_data',[2,color.get_width(),color.get_height()]),[2 1]);
がエラーの原因となっています。
この問題の解決方法をどなたか教えてください。
-
Hi 180445032,
Are you using any Matlab wrapper sample script from RealSense? Which particular script you are referring to? Please elaborate more on the error you are getting. Meanwhile, for your information, technical support of RealSense technology is only available in English, let's continue our communication in English.Thanks
Regards,
Aznie
RealSense Customer Support
Please sign in to leave a comment.
Comments
1 comment