gray2rgb

Turns an m by n matrix into an m x n x 3 matrix.

現在この提出コンテンツをフォロー中です。

This just makes a grayscale image, with values ranging from 0 to 255, into a RGB truecolor image with values ranging from 0 to 1 in each of the 3 colors. I wrote this so that I could outline the objects in a grayscale image with color borders.

引用

Gabriel Frangakis (2026). gray2rgb (https://jp.mathworks.com/matlabcentral/fileexchange/28111-gray2rgb), MATLAB Central File Exchange. に取得済み.

カテゴリ

Help Center および MATLAB AnswersModify Image Colors についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0