"Chuck Close-ify" an image

版本 1.1.0.0 (2.1 KB) 作者: Jeremy Manning
Create Chuck Close-style images from photographs and existing images.
502.0 次下载
更新时间 2013/1/4

查看许可证

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.

引用格式

Jeremy Manning (2024). "Chuck Close-ify" an image (https://www.mathworks.com/matlabcentral/fileexchange/38770-chuck-close-ify-an-image), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Read, Write, and Modify Image 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0.0

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

1.0.0.0