This function overlays a logical mask on top of an image (with user-defined color and opacity) and creates a flattened image without an alpha channel. The resulting output can be treated as another image data. Interactive explorations, such as zooming, panning, and data tips, are faster, because the image does not contain an alpha channel.
Syntax:
flattenMaskOverlay(img, mask, opacity, color);
See the published example for more information.
引用
Jiro Doke (2026). flattenMaskOverlay (https://jp.mathworks.com/matlabcentral/fileexchange/33986-flattenmaskoverlay), MATLAB Central File Exchange. 取得日: .
MATLAB リリースの互換性
作成:
R2011b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
- MATLAB > Graphics > Labels and Styling > Interactions, Camera Views, and Lighting > Lighting, Transparency, and Shading >
Help Center および MATLAB Answers で Lighting, Transparency, and Shading についてさらに検索
タグ
謝辞
ヒントを得たファイル: Image overlay, showMaskAsOverlay
