convert BGRA8 image format to RGB format
3 ビュー (過去 30 日間)
古いコメントを表示
採用された回答
Jan
2021 年 10 月 12 日
Do you have the pixels values as UINT8 array already? Then:
RGB = BGRA8(:, :, [3, 2, 1])
7 件のコメント
その他の回答 (1 件)
Cam Salzberger
2021 年 10 月 13 日
Since the image data is coming out of a ROS message, you can use the ROS functions to extract the image from it:
-Cam
参考
カテゴリ
Help Center および File Exchange で Specialized Messages についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!