flattenMaskOverlay
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.
Citation pour cette source
Jiro Doke (2024). flattenMaskOverlay (https://www.mathworks.com/matlabcentral/fileexchange/33986-flattenmaskoverlay), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Graphics > Formatting and Annotation > 3-D Scene Control > Lighting, Transparency, and Shading >
Tags
Remerciements
Inspiré par : Image overlay, showMaskAsOverlay
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
html/
Version | Publié le | Notes de version | |
---|---|---|---|
1.3.0.1 | Updated license |
||
1.3.0.0 | Fixed alphaLevel bug and example bug. |