flattenMaskOverlay
by Jiro Doke
29 Nov 2011
(Updated 29 Nov 2011)
Create a flattened image with an overlayed mask, with specified color and opacity (transparency).
|
Watch this File
|
| File Information |
| Description |
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. |
| Acknowledgements |
Image Overlay and Show Mask As Overlay
inspired this file.
|
| Required Products |
MATLAB
|
| MATLAB release |
MATLAB 7.13 (R2011b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (1) |
| 10 Feb 2012 |
Lili
|
|
|
| Updates |
| 29 Nov 2011 |
Fixed alphaLevel bug and example bug. |
|
Contact us