flattenMaskOverlay

Create a flattened image with an overlayed mask, with specified color and opacity (transparency).

Vous suivez désormais cette soumission

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 (2026). flattenMaskOverlay (https://fr.mathworks.com/matlabcentral/fileexchange/33986-flattenmaskoverlay), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

Inspiré par : Image overlay, showMaskAsOverlay

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.3.0.1

Updated license

1.3.0.0

Fixed alphaLevel bug and example bug.