采用3D Bresenham算法在兩點間劃一直線 % This program is ported to MATLAB from: % B.Pendleton. line3d - 3D Bresenham s (a 3D line drawing algorithm) % ftp://ftp.isc.org/pub/usenet/comp.sources.unix/volume26/line3d, 1992 % % Which is referenced by: % Fischer, J., A. del Rio (2004). A Fast Method for Applying Rigid % Transformations to Volume Data, WSCG2004 Conference. % http://wscg.zcu.cz/wscg2004/Papers_2004_Short/M19.pdf
標簽: Bresenham Pendleton program MATLAB
上傳時間: 2013-12-10
上傳用戶:sz_hjbf
A方向和B方向各設紅(R)、黃(Y)、綠(G)和左拐(L)4盞燈,4種燈按合理的順序亮滅,并將時間以倒計時的形式顯示出來。同時要設置兩個方向的緊急通道模式,當某一方向有緊急事件發生時,交警按下緊急通道按鈕,該方向綠燈亮,另外一個方向紅燈亮,等緊急事件解除后(假定計時10s),交通恢復原來的狀態 要求在數碼管上顯示兩個方向的燈種和計時,實現緊急情況按鈕輸入功能 根據交通燈控制要實現的功能,可考慮用兩個并行執行的always模塊(兩個進程)來分別控制A和B兩個方向的4盞燈。這兩個always模塊使用同一個時鐘信號,以進行同步,也就是說,兩個進程的敏感信號時同一個 每個always模塊控制一個方向的4種燈按如下順序點亮,并往復循環:綠燈-黃燈-左拐燈-黃燈-紅燈,燈亮的時間由自己設定 由于板上資源有限,如覺得實現困難,可去掉左拐燈,即順序為綠燈-黃燈-紅燈。
標簽: 方向
上傳時間: 2016-10-07
上傳用戶:CHINA526
51單片機控制dm413 R,G,B色彩變化。
上傳時間: 2016-10-07
上傳用戶:chenlong
Data Structures and Algorithms with Object-Oriented Design Patterns in Java Bruno R. Preiss B.A.Sc., M.A.Sc., Ph.D., P.Eng. Associate Professor Department of Electrical and Computer Engineering University of Waterloo, Waterloo, Canada
標簽: B.A.S R. Object-Oriented Algorithms
上傳時間: 2017-03-07
上傳用戶:z754970244
同時由B.W.Kernighan和D.M.Ritchit合著了著名的“THE C PROGRAMMING LANGUAGE”一書。通常簡稱為《K&R》,也有人稱之為《K&R》標準
標簽: PROGRAMMING Kernighan LANGUAGE Ritchit
上傳時間: 2017-05-29
上傳用戶:ddddddos
重點介紹了C + + B u i l d e r集成開發環境,以便讀者在創建應用程序時能充分利用其強大的功能,從而達到事半功倍的效果。
標簽: 集成開發環境
上傳時間: 2013-12-25
上傳用戶:zsjzc
迭代法求最佳閾值 圖像為baboon.bmp 分別對R,G,B三個顏色求閾值,進行分割
上傳時間: 2017-09-10
上傳用戶:q123321
To use this function just define a variable say var, var = pnseq(a, b, c) for a, b and c refer to the zip file
標簽: var function variable define
上傳時間: 2014-01-06
上傳用戶:zhuoying119
可以將圖像中r,g,b三個分量分別提取出來,并顯示
上傳時間: 2015-06-27
上傳用戶:lyx1998
針對目前使用的RS232接口數字化B超鍵盤存在PC主機啟動時不能設置BIOS,提出一種PS2鍵盤的設計方法。基于W78E052D單片機,采用8通道串行A/D轉換器設計了8個TGC電位器信息采集電路,電位器位置信息以鍵盤掃描碼序列形式發送,正交編碼器信號通過XC9536XL轉換為單片機可接收的中斷信號,軟件接收到中斷信息后等效處理成按鍵。結果表明,在滿足開機可設置BIOS同時,又可實現超聲特有功能,不需要專門設計驅動程序,接口簡單,成本低。 Abstract: Aiming at the problem of the digital ultrasonic diagnostic imaging system keyboard with RS232 interface currently used couldn?蒺t set the BIOS when the PC boot, this paper proposed a design method of PS2 keyboards. Based on W78E052D microcontroller,designed eight TGC potentiometers information acquisition circuit with 8-channel serial A/D converter, potentiometer position information sent out with keyboard scan code sequentially.The control circuit based on XC9536 CPLD is used for converting the mechanical actions of the encoders into the signals that can be identified by the MCU, software received interrupt information and equivalently treatmented as key. The results show that the BIOS can be set to meet the boot, ultrasound specific functionality can be achieved at the same time, it does not require specially designed driver,the interface is simple and low cost.
上傳時間: 2013-10-10
上傳用戶:asdfasdfd