發表文章

目前顯示的是 5月, 2015的文章

camera 知識 - 3A

圖片
目的 : 改善感應器所接受到的原始信號。 3A主要分為 :  AF(Auto Focus, 自動對焦), AE(Auto  Exposure, 自動曝光 ), AWB (Auto White Balance自動白平衡) AWB : 自動白平衡的功用是對因光源色溫變化而造成色差的現象做校正,例如黃昏時的戶外,因色溫較低,所以感應器感應到的顏色會偏黃,而白天的色溫較高,所以感應器感應到的顏色會偏藍(請參考以下色溫與其對應色偏顏色的示意圖)[5]。 AE : 自動曝光則是用在拍攝環境的亮度不同時,以控制光圈或快門的方式,達到適當曝光的目的,使得影像不致過亮或過暗,但是考慮成本的問題,一般PC Cam的鏡頭為固定光圈,並且省略機械快門,而由感應器以電子快門的方式來控制曝光。 AF :  自動對焦的處理,對手動對焦的鏡頭而言可被省略,但是對自動對焦的鏡頭就相當重要了,因為它關係到影像的清晰度。

建立 vim 類似 source insight的工作環境

圖片
需要套件 Vim + Trinity + Source Explorer + Tag List + NERD_tree + ctags  參數快捷健設定 修改 vimrc檔 (/etc/vim/vimrc)並加入以下幾個設定: " Open and close all the three plugins on the same time nnoremap <silent> <F7> :TrinityToggleAll<CR> " Open and close the srcexpl.vim separately nnoremap <silent> <F9> :TrinityToggleSourceExplorer<CR> " Open and close the taglist.vim separately nnoremap <silent> <F10> :TrinityToggleTagList<CR> " Open and close the NERD_tree.vim separately nnoremap <silent> <F12> :TrinityToggleNERDTree<CR> " Open NERDTree nnoremap <silent> <F5> :NERDTree<CR> set mouse=nv 安裝各個套件 cscope apt-get install exuberant-ctags cscope 功能:使之可以尋找關鍵字 Trinity Link : http://www.vim.org/scripts/script.php?script_id=2347 功能:用來管理 Source Explorer, Tag List, NERD_tree的 plugin Source Explorer  Link :  http://www.vim.org/scripts/script.php?script_id=2179 功能:用來自動顯...