File Exchange

image thumbnail

Mix color and black and white in the same picture -custom colormaps

version 1.2 (1.85 MB) by

This GUI will allow you to take a color image and set regions of it to be black and white.



View License

This Graphical User Interface(GUI) will essentially allow you to give an antique look to your photos. You basically import a color image and draw as many regions (of any shape) on the image. These regions will retain the original color while the rest of the image will appear black and white. This demo illustrates how to get around the limitation of MATLAB® figures of not allowing two colormaps for the same figure.

You may download the zip file "" and unzip it to a folder on your machine. The files contained are:

1. colormix.m
2. colormix.fig
3. nature32.bmp -> an example input image

You run colormix.m to start the GUI. Click browse and select an image. The image is now shown in grayscale. You may now click "Add ROI" and then create a region of interest on the image. This region will now be in color. You may UNDO as many regions of interests (ROI's) as you want. Once you are satisfied, you may save your work as a JPG file in the current directory. The GUI has been tested in R2007b and R2008a.

Comments and Ratings (0)



updated File with BSD License


BSD license

Editing some text in the description

MATLAB Release
MATLAB 7.5 (R2007b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video