1. 程式人生 > >數字影象梯度概念及計算(the gradient of the image)

數字影象梯度概念及計算(the gradient of the image)

梯度的方向是函式f(x,y)變化最快的方向,當影象中存在邊緣時,一定有較大的梯度值,相反,當影象中有比較平滑的部分時,灰度值變化較小,則相應的梯度也較小,影象處理中把梯度的模簡稱為梯度,由影象梯度構成的影象成為梯度影象(we can get the gradient image through computing the gradient of each pixel in the image)