Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Edge Detection | Image Processing with OpenCV
Computer Vision Course Outline
course content

Зміст курсу

Computer Vision Course Outline

Computer Vision Course Outline

1. Introduction to Computer Vision
2. Image Processing with OpenCV
3. Convolutional Neural Networks

book
Edge Detection

Edge Detection

Edges represent sudden changes in pixel intensity, which usually correspond to object boundaries. Detecting edges helps in shape recognition and segmentation.

Sobel Edge Detection

The Sobel operator calculates gradients (changes in intensity) in both the X and Y directions, helping detect horizontal and vertical edges.

Canny Edge Detection

The Canny Edge Detector is a multi-stage algorithm that provides more accurate edges by:

  1. Applying Gaussian blur to remove noise.
  2. Finding intensity gradients using Sobel filters.
  3. Suppressing weak edges.
  4. Using double thresholding and edge tracking.

A comparison of edge detection methods:

Завдання

Swipe to start coding

Your task is to apply both methods, Sobel and Canny. Steps:

  • Convert photo to grayscale;
  • Apply Sobel filter on X and Y directions with output depth cv2.CV_64F and kernel size 3;
  • Combine Sobel-filtered directions;
  • Apply a Canny filter with a threshold from 200 to 300.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 7
toggle bottom row

book
Edge Detection

Edge Detection

Edges represent sudden changes in pixel intensity, which usually correspond to object boundaries. Detecting edges helps in shape recognition and segmentation.

Sobel Edge Detection

The Sobel operator calculates gradients (changes in intensity) in both the X and Y directions, helping detect horizontal and vertical edges.

Canny Edge Detection

The Canny Edge Detector is a multi-stage algorithm that provides more accurate edges by:

  1. Applying Gaussian blur to remove noise.
  2. Finding intensity gradients using Sobel filters.
  3. Suppressing weak edges.
  4. Using double thresholding and edge tracking.

A comparison of edge detection methods:

Завдання

Swipe to start coding

Your task is to apply both methods, Sobel and Canny. Steps:

  • Convert photo to grayscale;
  • Apply Sobel filter on X and Y directions with output depth cv2.CV_64F and kernel size 3;
  • Combine Sobel-filtered directions;
  • Apply a Canny filter with a threshold from 200 to 300.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 7
Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
We're sorry to hear that something went wrong. What happened?
some-alt