freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

分形理論在計(jì)算機(jī)圖形學(xué)中的應(yīng)用—免費(fèi)畢業(yè)設(shè)計(jì)論文(完整版)

2024-10-31 13:20上一頁面

下一頁面
  

【正文】 h e igh t? ? ? ? 逃逸區(qū) M’ 收斂區(qū)域 A 未逃逸區(qū) M 逃逸邊界 理學(xué)學(xué)士學(xué)位論文 第二章 分形 相關(guān) 理 論 問題 5 其中 C 表示復(fù)數(shù)上一個(gè)點(diǎn), minx , maxx , miny , maxy 表示參數(shù)窗口大小, M 表示逃逸邊界值, maxTime 表示循環(huán)可以執(zhí)行的最大次數(shù)。 于是,我們發(fā)現(xiàn),復(fù)平面上可分為兩個(gè)區(qū)域,一個(gè)區(qū)域合落在其中的點(diǎn)向0 收斂 ,而另一個(gè)區(qū)域合落在其中的點(diǎn)向 ? 逃逸,它們的分界線便是 0| ( )| 1Fz? 。目前用計(jì)算機(jī)繪制分形圖是如此流行,以致不僅使繪制分形的算法理論與程序設(shè)計(jì)已成為一個(gè)獨(dú)立的研究方向,同時(shí)繪制的分形圖也已成了一種相當(dāng)時(shí)髦的藝術(shù)形式。 近幾年在流體力學(xué)不穩(wěn)定性、光學(xué)雙穩(wěn)定器件、化學(xué)震蕩反映等試驗(yàn)中,都實(shí)際測得了混沌吸引子,并從實(shí)驗(yàn)數(shù)據(jù)中計(jì)算出它們的分維。受到污染的一些流水中,粘在藻類植物上的顆粒和膠狀物,不斷因新的沉積而生長,成為帶有許多須須毛毛的枝條狀,就可以用分維。分形作為幾何對象,是破碎的,不規(guī)則的,但不是所有破碎的,不規(guī)則的形狀都是分形,分形一般還具有自相似性,一個(gè)對象的部分與整體有自仿射變換關(guān)系,我們也可以稱之為分形。s creating, for example the vector move, circumvolve, zoom in, zoom out, and other vector transformation. In addition, picture parametric can be changed and picture colour can also be changed .this topic involved the GumowskiMira fractal, two dimension Cellular Automata fractal. Fractal unfurl an new world buildup with math and arts, Along with time flying, people think over fractal more and more, even brought an argument that fractal drawing is or not an art. All think fractal picture is an art production today, and also, fractal is used more and more in puter science. The puter graphics even add a new fractal algorithm to create nature sight. Aside, fractal theory used wider and wider in other subjects. We can say, fractal theory will use wider and deeper. Key Words: Fractal, Julia set, Mandelbrot set, Vector transformation, Escaping time algorithm 理學(xué)學(xué)士學(xué)位論文 第一章 分形概論 1 第一章 分形概論 什么是分形 什么是分形呢?很難給分形下一個(gè)確切的定義。本文重點(diǎn)介紹了分形圖形的重要生成算法 —— 逃逸時(shí)間算法,并且詳細(xì)說明了使用逃逸時(shí)間算法生成 Julia集與 Mandelbrot 集的算法過程。自分形之父曼德勃羅( Benoit Mandelbrot)在 1975年出版專著《分形對象:形、機(jī)遇與維數(shù)》,標(biāo)志著分形理論正式誕生以來。另外,分形在其它學(xué)科的應(yīng)用也日益廣泛,可見,分形在今后會得到更大的發(fā)展,有更廣闊的應(yīng)用空間。 分形在英文中為 fractal,是由美籍法國數(shù)學(xué)家曼德勃羅 (Benoit Mandelbrot)創(chuàng)造出來的。這是一種處處連續(xù),但又處處無導(dǎo)數(shù)的曲線。小于 1 公里的云朵,更受地形概貌影響,大于 1000 公里時(shí),地球曲率開始起作用。并且由于分形幾何方法的引入,使一些原已死寂的老學(xué)科方向煥發(fā)了新的生機(jī),也使一些正蓬勃發(fā)展的新學(xué)科獲得了巨大的推動力。 下面討論 2()f z z? 的一些性質(zhì),假設(shè)此方程以點(diǎn) 0 0 0z x y i?? ,且 0| | 1z? 開始迭代,則有: 220 0 0 0 0| ( ) | | 2 |F z x y x y? ? ? 2 2 2 20 0 0 0( ) ( 2 )x y x y? ? ? 4 4 2 2 2 20 0 0 0 0 024x y x y x y? ? ? ? 2 2 200()xy?? 因此,在區(qū)域 00 | | 1z??中, 00| ( ) | | |F z z? ,這意味著對 2()F z z? 的每一個(gè)一次迭代,即 21nnzz? ? ,都會使 z 向靠 0 的方向移動,可以說此時(shí) z 向 0 收斂。如圖 所示,假設(shè)有一個(gè)充分大的整數(shù) N,當(dāng)未逃逸區(qū)域 M 中的初始點(diǎn) a 經(jīng)過小于 N 次迭代就達(dá)到未逃逸區(qū)域 M 的邊界,甚至超出了邊界,我們就認(rèn)為點(diǎn) a 逃逸出去了;而如果經(jīng)過 N 次迭代后, a 的軌跡仍未到達(dá) M 的邊界,我們就認(rèn)為 a 是 A 上的點(diǎn),用這樣 的 方 法 描 繪 出 A 的 邊 界 圖 形 , 這 就 是 逃 逸 時(shí) 間 算 法 的 基 本 思 想 。 如果 maxt Time? ,轉(zhuǎn)到步驟 ○ 5 。 如果 maxt Time? ,轉(zhuǎn)到步驟 ○ 5 。 顏色設(shè)置:我們根據(jù)逃逸時(shí)間算法的循環(huán)次數(shù)來給分形圖著色,假定 k 為循環(huán)次數(shù),也就是上面所說的逃逸時(shí)間, time 為顏色銳化值, m_nRed, m_nGreen,m_nBlue 為 R, G, B 的初始值,有如下結(jié)果: k *= time。用計(jì)算機(jī)語言來表示就是這樣: if ((red amp。運(yùn)算表示取這三個(gè)值的最低九個(gè)位, amp。令 m a x m i n( ) /( 1 )x x x w id th? ? ? ?, m a x m in( ) /( 1 )y y y h e igh t? ? ? ?,xMin, yMin, xMax, yMax 代表參數(shù)窗口值, oldPoint 表示鼠標(biāo)移動前的位置, newPoint 表示鼠標(biāo)移動后的位置。 2, Julia 集與 Mandelbrot 集的矢量放大 :先說明對 Mandelbrot 集的放理學(xué)學(xué)士學(xué)位論文 第二章 分形 相關(guān) 理 論 問題 8 大 ,Mandelbrot 集是將參數(shù) C 走遍參數(shù)窗口的所有值,經(jīng)過逃逸時(shí)間算法的運(yùn)算最終在繪圖窗口中畫出圖來,由此可知,參數(shù)窗口的大小和位置就決定了所繪 Mandelbrot 集的放大區(qū)域。 圖形的矢量放大前后效果對比見圖 與圖 。m in m in m inm a x m a x m a x39。圖形的矢量旋轉(zhuǎn)前后效果對比見圖 與圖 。 二維元胞自動機(jī)生成分形圖案 元胞 分布在二維歐氏幾何平面上規(guī)則劃分的網(wǎng)格點(diǎn)上,則稱它為二維元胞自動機(jī)。 他們使用了這組方程 : n+ 1 nn+ 1 n+ 1x = b * + f (x ) y = x + f (x ) ny 其中的函數(shù) F(x)是他們所考慮的模型 , 其中一個(gè)主要的模型他們使用了 : f ( x) = a * + 2* ( 1 a ) * x* x/ ( 1+x* x) x 其中 a 是一個(gè) 參數(shù) , 通常在 1 和 1 之間 , b 是一個(gè)非常敏感的常數(shù) , 通常非常接近于 。i = i + 1。要將當(dāng)前客戶區(qū)域拷貝為位圖,需要先獲取當(dāng)前窗口的句柄,這個(gè)可以使用函數(shù) HWND GetSafeHw nd( ) const。最后將指向位圖的句柄返回。 理學(xué)學(xué)士學(xué)位論文 第二章 分形 相關(guān) 理 論 問題 13 GetClientRect(amp。 = lpRecttop。 lpRecttop = 。 // handle to DIB // get the devicedependent bitmap in lpRect by calling // CopyScreenToBitmap and passing it the rectangle to grab hBitmap = CopyScreenToBitmap(lpRect)。 // screen DC and memory DC HBITMAP hBitmap, hOldBitmap。 // get points of rectangle to grab nX = lpRectleft。 if (nX2 xScrn) nX2 = xScrn。 // clean up DeleteDC(hScrDC)。 // handle to DIB, temp handle HDC hDC。 // make sure bits per pixel is valid if (biBits = 1) biBits = 1。 = biBits。bi)。 ReleaseDC(NULL, hDC)。 // realloc the buffer big enough to hold all the bits dwLen = + PaletteSize((LPBYTE)amp。 return NULL。 } bi = *lpbi。 // Pointer to DIB info structure HANDLE fh。 return FALSE。 // BM dwDIBSize = *(LPDWORD)lpBI + PaletteSize((LPBYTE)lpBI)。 // Now, since we have calculated the correct size, why don39。bmfHdr,sizeof(BITMAPFILEHEADER), amp。 // Success code } 理學(xué)學(xué)士學(xué)位論文 第三章 畢業(yè)設(shè)計(jì)結(jié)果與分析 23 第三章 畢業(yè)設(shè)計(jì)結(jié)果和分析 給出畢業(yè)設(shè)計(jì)的結(jié)果圖,并給出適當(dāng)?shù)姆治?,指出其?yōu)勢和不足之處。 理學(xué)學(xué)士學(xué)位論文 第三章 畢業(yè)設(shè)計(jì)結(jié)果與分析 24 。 子菜單: ○ 1 新建:新建一個(gè)視圖。 // Write the DIB header and the bits use local version of // MyWrite, so we can write more than 32767 bytes of data WriteFile(fh, (LPBYTE)lpBI, dwDIBSize, amp。 } // Calculate the file size by adding the DIB size to sizeof(BITMAPFILEHEADER) = dwDIBSize + sizeof(BITMAPFILEHEADER)。s an RLE bitmap, we can39。re dealing with an OS/2 DIB. If so, don39。 DWORD dwWritten。 SelectPalette(hDC, hPal, TRUE)。 // call GetDIBits with a NONNULL lpBits param, and actualy get the // bits this time if (GetDIBits(hDC, hBitmap, 0, (UINT), (LPBYTE)lpbi + (WORD)lpbibiSize + PaletteSize((LPBYTE)lpbi), (LPBITMAPINFO)lpbi, DIB_RGB_COLORS) == 0) { // clean up and return NULL GlobalUnlock(hDIB)。 if (h = GlobalReAlloc(hDIB, dwLen, 0)) hDIB = h。 } // lock memory and get pointer to it
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1