原创 [cv]edge detection: gradients

usually, filter is used to find a specific pattern in the pictures. If we want to find lines and edges in the pic

原创 [cv]edge detection: 2d operators

derivative of 2d gaussian filter Gaussian derivative in x,y direction effect of sigma in smoothing filter canny

原创 Python中子類如何獲取父類的類成員

@bwangel   大家好,今天在寫代碼的時候,遇到了這樣一種情況。我有如下所示的幾個類用來存放程序配置(其實當做命名空間來用,同時感覺能夠繼承方便一點), import osclass Config: BASE_DIR =

原创 [cuda] 02 Communication Pattern and GPU hardware

parallel computing parallel computing : many threads solving a problem by working together. The key to work together is

原创 [robot]Quaternions and Rigid Transformations

四元數定義 單位四元數 這一性質十分有用。 由於多次的旋轉矩陣間相乘會導致誤差累積,相乘次數越多誤差越大。 如果利用單位四元數表示旋轉矩陣,相乘後得到另一個單位四元數,這時對這個四元數進行renormalize就可以

原创 [cv]Fourier-transform

Basis Sets 生成向量空間V的最小基向量集合。 image can be regarded as an 1D vector. sin signal Asin(wx+ψ) 三個自由度, A,w,ψ . t

原创 使用cuda計算灰度圖像

下面是一個利用cuda計算數組元素三次方的c程序。 #include <stdio.h> // __global__ 是cuda核函數標識符。cuda會將這個函數識別爲核函數 __global__ void cube(float * d

原创 [bash]基礎shell命令總結

1. echo 相當於 C語言的 printf。 打印字符串到console。 $ echo $COLUMNS x $LINES40 x 27 上面這個命令打印了當前terminal的窗口大小。 2. ls 顯示當前文件夾下的所有文件及

原创 [tensorflow] feed_dict 傳入序列

當前, tensorflow(1.0)還不是很人性化。 在session中傳入序列參數到圖模型中並不是很方便。 所以,現在只能將序列中每一個元素對應的tensor和實際值對應寫入dict進行傳送。 比如,  定義圖時,把將填入的tenso

原创 無bug版本的生物信息學c++工具包 BALL 1.1.1

BALL BALL project 1.1.1 bugs-free version 下載鏈接: 點擊 我修改了下源碼可以直接編譯成功了。 現在的版本就是可正常編譯的版本。 當然,版權歸BALL-Project 團隊所有。 W

原创 [robot] review rotation

fundamental rotation exercise rotation around a fixed frame rotation around an intermediate frame representa

原创 [cv] linearity and convolution

Linearity: An operator or system H is linear if two properties hold: 1. Additivity:     H(f1+f2) = H(f1) + H(f2) 2. sca

原创 [cv]hough transform ----circle

hough transform for circles if the radius is not fixed, hough of circle in image will be a 3D space. but if t

原创 [cv]generalized hough transform

general hough specific hough transform is usually used in images with a specific shape (line, circle). example

原创 根據 Rodrigues 旋轉公式、旋轉矩陣以及主軸方向反求旋轉角

旋轉矩陣與乘法操作組成了一個羣。 利用羣論知識,推出 Rodrigues 旋轉公式。 其中 w 是單位方向向量,表示旋轉主軸方向, R爲物體繞此軸旋轉theta 角後得到的旋轉矩陣。 那麼,則有 直接可以反解出,theta 例如,