Code covered by the BSD License  

Highlights from
"Chuck Close-ify" an image

Be the first to rate this file! 17 Downloads (last 30 days) File Size: 2.07 KB File ID: #38770
image thumbnail

"Chuck Close-ify" an image



24 Oct 2012 (Updated )

Create Chuck Close-style images from photographs and existing images.

| Watch this File

File Information

The iconic artist Chuck Close creates realistic images that are painstakingly built up from tiny tiles. This function provides a quick fix for those who want to emulate Close's style but without putting in all that pesky hard work.

The function accepts three arguments: an image that you want to manipulate (either a matrix or a file name), and parameters that control the number of rows and columns of tiles in the final image. Each tile is constructed by drawing a randomly chosen number of successively smaller (rounded) rectangles. The elements of each tile are colored randomly, subject to the constraint that the mean R,G,B values of each of the tile's elements must equal the mean R,G,B values of the pixels at the corresponding locations in the original image. The user may also pass in an optional fourth argument which specifies the filename in which to save the result as a vectorized PDF.

This submission is intended to be entertaining and possibly interesting. However, it should not be used as a substitute for viewing Chuck Close's actual art, which is much prettier than anything this computer program will produce.

MATLAB release MATLAB 7.14 (R2012a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
04 Jan 2013

fixed tile color bug, made tile elements more interesting and varied.

Contact us