imOverlay

版本 1.0.0.0 (3.9 KB) 作者: David Legland
Add colored markers to an image, that can be 2D or 3D, grayscale or color.
1.2K 次下载
更新时间 2010/9/24

查看许可证

Add a colored layer to a base image, whatever the dimension (2D or 3D) and the type (grayscale of color) of the base image.

Overlays are given by pairs MASK + color. The mask is a binary image the same size as the base image. The color parameter can be either a rgb triplet (like [1 0 0] for red), or a color character (like 'g', 'w'...).

It is also possible to specify another image as 'color', in this case the pixels of the base image within the mask will be replaced by the pixels of the 'color' image.

The aim of this function was to be easy to use, without spending time in conversion between 2D/3D and color grayscale.

Please send bug reports directly to authour (david dot legland at grignon dot inra dot fr).

引用格式

David Legland (2024). imOverlay (https://www.mathworks.com/matlabcentral/fileexchange/28827-imoverlay), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux
致谢

启发作品: register_H

Community Treasure Hunt

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

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