imOverlay
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).
Citar como
David Legland (2025). imOverlay (https://www.mathworks.com/matlabcentral/fileexchange/28827-imoverlay), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Image Arithmetic >
Etiquetas
Agradecimientos
Inspiración para: register_H
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |