label2rgb
ラベル行列を RGB イメージに変換
構文
説明
は、RGB = label2rgb(L,cmap,zerocolor,colorAssignment)label2rgb がラベル行列の中の領域に色をどのように割り当てるかを制御します。
では、この関数で RGB イメージではなく独自の色のリストを返すよう指定できます。RGB = label2rgb(___,OutputFormat=outputFormat)
R2021a より前では、等価の構文 RGB = label2rgb(__,"OutputFormat",outputFormat) を使用します。
例
入力引数
出力引数
拡張機能
バージョン履歴
R2006a より前に導入参考
bwconncomp | bwlabel | bwlabeln | colormap | ismember | labelmatrix | watershed
トピック
- Get Started with Image Segmentation
- 深層学習を使用したセマンティック セグメンテーション入門 (Computer Vision Toolbox)


