[1]王昱哲.基于IFS分形树的模拟[J].西安科技大学学报,2016,(06):894-898.[doi:10.13800/j.cnki.xakjdxxb.2016.0622]
 WANG Yu-zhe.Simulation of fractal tree based on IFS[J].Journal of Xi'an University of Science and Technology,2016,(06):894-898.[doi:10.13800/j.cnki.xakjdxxb.2016.0622]
点击复制

基于IFS分形树的模拟()
分享到:

西安科技大学学报[ISSN:1672-9315/CN:61-1434/N]

卷:
期数:
2016年06期
页码:
894-898
栏目:
出版日期:
2016-12-30

文章信息/Info

Title:
Simulation of fractal tree based on IFS
文章编号:
1672-9315(2016)06-0894-05
作者:
王昱哲
西安科技大学 计算机科学与技术学院,陕西 西安 710054
Author(s):
WANG Yu-zhe
College of Computer Science and Engineering,Xi'an University of Science and Technology,Xi'an 710054,China
关键词:
分形几何 迭代函数系统 压缩仿射变换 吸引子
Keywords:
fractal geometry iterated function system compression affine transformation attractor
分类号:
TP 391
DOI:
10.13800/j.cnki.xakjdxxb.2016.0622
文献标志码:
A
摘要:
分形理论是利用分数维数的数学方法来描述和研究客观事物。利用分形可以模拟出逼真的自然景物,解决了计算机对复杂自然景物建模困难的问题。IFS迭代函数系统模型是产生分形图形的重要方法之一。根据IFS模型构建分形图形的方法和原理,通过观察树木等自然景物的特征,抽象出一种自然界树木的形状,利用拼贴的方法计算出该树木的IFS码,并用VC++作为工具实现对树木的绘制。通过树木绘制实例详细介绍了绘制的过程、颜色问题的改善和迭代次数及伴随概率对图形的显示效果的影响。由于迭代函数系统模型是通过绘制迭代点来生成图形的,对于点的颜色设置要么单一要么比较杂乱,因此对绘制过程中如何设置迭代点的颜色提出了改善办法。根据程序最终的显示效果,生成图形符合预期的形状,经过颜色改善后的图形效果更加逼真。
Abstract:
Fractal theory is to use fractional dimension mathematical method to describe and study the objective things.The natural scenery can be simulated by the fractal to solve difficult problem about the computer modeling for complex natural scenery.The model of iterated function systems is one of the important methods for generating fractal graphics.This article mainly expounds the IFS model fundamentals,methods and steps of the fractal images.Through observing the characteristics of the tree,we construct the model of the tree.By the means of collage,we calculate the IFS code of the tree.Finally using VC++ as the tool,we render an image of the tree.This paper introduces the process of rendering,the solution of color problem,and the effect of iterations times.Because the iteration function system model generates graphics through iterative point,the color of the point is set in single or more messy,so how to set the color of iterative is proposed to improve the effect.According to the final results of the program,the graphics is generated in accordance with the expected shape.After the color improvement,the graphics is more realistic.

参考文献/References:

[1] 孔令德.计算机图形学基础教程[M].北京:清华大学出版社,2013. KONG Ling-de.Computer graphics fundamentals[M].Beijing:Tsinghua University Press,2013.
[2] 陈元琰,张睿哲,吴 东.计算机图形学实用技术[M].北京:清华大学出版社,2007. CHEN Yuan-yan,ZHANG Rui-zhe,WU Dong.The operative technology of computer graphics[M].Beijing:Tsinghua University Press,2007.
[3] 潘云鹤,董金祥,陈德人.计算机图形学-原理、方法及应用[M].北京:高等教育出版社,2005. PAN Yun-he,DONG Jin-xiang,CHEN De-ren.Principles,methods and applications of computer graphics[M].Beijing:High Education Press,2005.
[4] 徐文鹏,王玉琨,刘永和.计算机图形学基础[M].北京:清华大学出版社,2006. XU Wen-peng,WANG Yu-kun,LIU Yong-he.The basis of computer graphics[M].Beijing:Tsinghua University Press,2006.
[5] 苏小红,李 东,唐好选,等.计算机图形学实用教程[M].北京:人民邮电出版社,2010. SU Xiao-hong,LI Dong,TANG Hao-xuan,et al.A practical course of computer graphics[M].Beijing:Posts & Telecom Press,2010.
[6] 张文辉,周 萍.IFS系统在植物形态模拟中的应用[J].广西师范大学学报,2007,25(2):198-201. ZHANG Wen-hui,ZHOU Ping.Plant simulation based on iterated fractal systems[J].Journal of Guangxi Normal University,2007,25(2):198-201.
[7] 吴运兵,李 勇.牛顿迭代法在分形图形生成上的应用研究[J].西安科技大学报,2005,25(3):365-367. WU Yun-bing,LI Yong.Create fractal graphics using Newton-overlapping method[J].Journal of Xi'an University of Science and Technology,2005,25(3):365-367.
[8] 刘明琴,张晓光.一种计算图像分形维数的有效方法[J].西安科技大学学报,2009,29(3):369-373. LIU Ming-qin,ZHANG Xiao-guang.An efficient approach to compute fractal dimension of image[J].Journal of Xi'an University of Science and Technology,2009,29(3):369-373.
[9] Tomek Martyn.A new approach to morphing 2D affine IFS fractals[J].Computers & Graphics,2004,28(2):249-272.
[10]YU Xin-he,YA Ling-he,LI Hua.Fast and accurate determination of the spatial boundary of IFS attractors[J].Computers & Graphics,1999,23(4):547-553.
[11]Tomek Martyn.Tight bounding ball for affine IFS attractor[J].Computers & Graphics,2003,27(4):535-552.

备注/Memo

备注/Memo:
收稿日期:2016-06-12 责任编辑:杨泉林
通讯作者:王昱哲(1979-),女,河南南阳人,讲师,E-mail:wyzapple@126.com
更新日期/Last Update: 2016-11-28