flattenMaskOverlay

版本 1.3.0.1 (953.8 KB) 作者: Jiro Doke
Create a flattened image with an overlayed mask, with specified color and opacity (transparency).
818.0 次下载
更新时间 2016/9/1

查看许可证

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 (2024). flattenMaskOverlay (https://www.mathworks.com/matlabcentral/fileexchange/33986-flattenmaskoverlay), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2011b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Lighting, Transparency, and Shading 的更多信息
致谢

参考作品: Image overlay, showMaskAsOverlay

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.3.0.1

Updated license

1.3.0.0

Fixed alphaLevel bug and example bug.