Presentation is loading. Please wait.

Presentation is loading. Please wait.

電腦視覺期末報告 Gradients 指導教授:張顧耀學生姓名:廖寶呈 學號: E9506002.

Similar presentations


Presentation on theme: "電腦視覺期末報告 Gradients 指導教授:張顧耀學生姓名:廖寶呈 學號: E9506002."— Presentation transcript:

1 電腦視覺期末報告 Gradients 指導教授:張顧耀學生姓名:廖寶呈 學號: E9506002

2 outline Gradients ? GradientMagnitudeImageFilter GradientMagnitudeRecursiveGaussianImageFilter DerivativeImageFilter

3 Gradients 組成:大小 (magnitude) 、方向 (direction) 功用 : 描述一個二維函數在某點的最大變化率與 方向

4 Gradients 在影像處理的應用 大小 : 某個 pixel 與相鄰點在 gray level 上的 最大變化量 方向 :gray level 有最大變化量的兩相鄰點之 間的方向 (gray level 低的 pixel 指向 gray level 高的 pixel)

5 help in the determination of object contours separation of homogeneous regions. GradientMagnitudeImageFilter

6 #include "itkCastImageFilter.h“ typedeffloatInputPixelType; typedeffloatOutputPixelType GradientMagnitudeImageFilter

7 使用前使用後

8 computes the magnitude of the image gradient at each pixel location computes the magnitude of the image gradient at each pixel location The standard deviation of the Gaussian smoothing kernel is now set filter->SetSigma( sigma ) GradientMagnitudeRecursiveGaus sianImageFilter

9 σ=3 σ=3 σ=5 σ=5 GradientMagnitudeRecursiveGaussianImageFilter

10 computing the partial derivative of an image computing the partial derivative of an image #include "itkCastImageFilter.h“ typedeffloatInputPixelType; typedeffloatOutputPixelType DerivativeImageFilter

11 the derivative is selected with the SetOrder() method. The direction along which the derivative will be computed is selected with the SetDirection() method.

12 DerivativeImageFilter 使用前使用後


Download ppt "電腦視覺期末報告 Gradients 指導教授:張顧耀學生姓名:廖寶呈 學號: E9506002."

Similar presentations


Ads by Google