Code covered by the BSD License  

Highlights from
imOverlay

Be the first to rate this file! 12 Downloads (last 30 days) File Size: 3.91 KB File ID: #28827
image thumbnail

imOverlay

by David Legland

 

24 Sep 2010

Add colored markers to an image, that can be 2D or 3D, grayscale or color.

| Watch this File

File Information
Description

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).

MATLAB release MATLAB 7.9 (R2009b)
Other requirements Image Processing toolbox is required to run the examples given in the doc.
Tags for This File  
Everyone's Tags
color image, display, image processing, overlay
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.

Contact us