SlideServe
Menu
Préférences
© SlideServe · v2026

Understanding Gradient Filters and Image Processing Methods

harrisdonald avatar
15 diapositives · 335 Views · Jan 06, 2020

Learn about gradient magnitude, smoothing with Gaussian distribution, coding techniques, comparison, and challenges in image processing using different filters. Explore tools to enhance object contours, separate regions, and understand mathematical operations.

Understanding Gradient Filters and Image Processing Methods - slide 1
01 / 15Understanding Gradient Filters and Image Processing Methods
1 / 17

Télécharger la présentation

Understanding Gradient Filters and Image Processing Methods
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Gradient 學生:黃菖裕 學號:r9506001 老師:張顧耀

  2. Outline • Introduction • Gradient Magnitude • Gradient Magnitude With Smoothing • Derivative Without Smoothing • Coding • Compare • Appendix • Challenge • Conclusion

  3. 1. Introduction Gradient filters: compute both the image of gradient vectors and the image of magnitudes of those vectors. Gradient magnitudes at each pixel are used to determine which pixels lie along edge boundaries gradient vector      

  4. 2. Gradient Magnitude to help in the determination of object contours and the separation of homogeneous regions before after

  5. 3. Gradient Magnitude With Smoothing (σ) of the Gaussian: σ is the standard deviation of the distribution σ = 1 σ = 3 σ = 5

  6. Smoothing used to `blur' images and remove detail and noise before after

  7. 4. Derivative Without Smoothing before after

  8. 5. Coding 5.1 Gradient Magnitude • itk::CastImageFilter • itk::GradientMagnitudeImageFilter • itk::RescaleIntensityImageFilter 5.2 Gradient Magnitude With Smoothing • itk::CastImageFilter • itk::GradientMagnitudeRecursiveGaussianImageFilter • Gaussianfilter->SetSigma( sigma ) • itk::RescaleIntensityImageFilter 5.3 Derivative Without Smoothing • itk::CastImageFilter • itk::DerivativeImageFilter • Derivativefilter->SetOrder(2) • Derivativefilter->SetDirection(2) • itk::RescaleIntensityImageFilter

  9. 6.Compare original canny edge binary threshold lighter Derivative Without Smoothing Gradient Magnitude Gradient Magnitude σ = 5

  10. 7. Appendix Laplacian of Gaussian before after

  11. 8. Challenge 8.1 GradientMagnitude Different: 1.save file • typedef unsigned charOutputPixelType; • typedef itk::GradientMagnitudeImageFilter<RealImageType, RealImageType > FilterType; • typedef itk::RescaleIntensityImageFilter<RealImageType, OutputImageType > RescaleFilter; • typedef itk::ImageFileWriter<OutputImageType> WriterType; • writer->SetInput(rescale->GetOutput()); 2.draw image • typedef signed short OutputPixelType; • typedef itk::GradientMagnitudeImageFilter<RealImageType, OutputImageType > FilterType; • pDoc->ptrDupImage->Graft(filter->GetOutput());

  12. 3.draw image • typedef signed short OutputPixelType; • typedef itk::GradientMagnitudeImageFilter<RealImageType, RealImageType > FilterType; • typedef itk::RescaleIntensityImageFilter<RealImageType, OutputImageType > RescaleFilter; • pDoc->ptrDupImage->Graft(rescale->GetOutput());

  13. 8.2 GradientMagnitude With Smoothing Save file Draw image σ = 1 σ = 3 σ = 5

  14. 8.3 Derivative Without Smoothing Draw image Save file

  15. Conclusion • Lots of method can be used to handle approximate process so that how to choice tools is important • Wanting to understand the processing function of images, the better is to realize the back mathematical meaning