flattenMaskOverlay

Version 1.3.0.1 (954 KB) von Jiro Doke
Create a flattened image with an overlayed mask, with specified color and opacity (transparency).
820 Downloads
Aktualisiert 1. Sep 2016

Lizenz anzeigen

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.

Zitieren als

Jiro Doke (2026). flattenMaskOverlay (https://de.mathworks.com/matlabcentral/fileexchange/33986-flattenmaskoverlay), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2011b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Lighting, Transparency, and Shading finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert von: Image overlay, showMaskAsOverlay

Version Veröffentlicht Versionshinweise
1.3.0.1

Updated license

1.3.0.0

Fixed alphaLevel bug and example bug.