Be the first to rate this file! 13 Downloads (last 30 days) File Size: 1.85 MB File ID: #19131
image thumbnail

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

by

 

10 Mar 2008 (Updated )

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

| Watch this File

File Information
Description

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 "colormix.zip" 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.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.5 (R2007b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
13 Mar 2008

Editing some text in the description

07 Aug 2013

BSD license

07 Aug 2013

updated File with BSD License

Contact us