摘要
本文介绍一个利用PerlinNoise来自动生成图像云的生成系统。我们首先通过随机函数产生一副黑白的灰色图像,然后对这些随机产生的颜色值进行多次光滑处理得到序列图像,最后将这些序列图像进行迭加合成得到一副黑白的灰色图像云。系统在运行时以黑白图像云的颜色值作为HLS颜色系统的亮度值,从而将黑白灰色图像云转换成各种颜色的彩色图像云,从而得到具有真实感的云彩图像。
In this paper we present an auto-generated system of cloud images through Perlin Noise. Firstly, we generated ablack-white gray image through a random function. Then, we smoothed the gray image many times and generated a series ofsmoothed images. Finally, we accumulated these images and generated another gray image. At run time, the system regardedthe color of the gray image as the brightness of HLS color system and converted the gray cloud image into colorful cloud imagewith all kinds of colors, and then we can get photorealistic cloud images.
出处
《微型电脑应用》
2006年第5期31-34,1,共4页
Microcomputer Applications