Skip to content

OpenCV examples for displaying, rotating, smoothening images, converting RGB to grayscale, thresholding, edge detection, and contour detection

Notifications You must be signed in to change notification settings

SamDaQueen/Image-Operations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image-Operations

Created as part of course CS5100-Foundations of Artificial Intelligence at Northeastern University

Class Image with functions for displaying an image, rotating the image, smoothening the image (averaging blur, gaussian blur and median blur), converting RGB to grayscale, thresholding, edge detection (canny algorithm), contour detection and drawing on the image.

Results

  1. Original image

  2. Original Image

  3. Rotated image

  4. Rotated Image

  5. Smoothened image - Averaging blur, Gaussian blur and Median blur

  6. Smoothened Image

  7. Grayscale image

  8. Grayscale Image

  9. Thresholded image

  10. Thresholded Image

  11. Canny edge detection

  12. Edge detection

  13. Contour detection and drawing on original image

  14. Contour detection

Files included

  1. image-operations.py - Python code for the various operations on an image
  2. Image files shapes.jpg / lotr.jpg - the images on which the operations are to be performed
  3. Results folder - snapshots of the results of the operations

About

OpenCV examples for displaying, rotating, smoothening images, converting RGB to grayscale, thresholding, edge detection, and contour detection

Topics

Resources

Stars

Watchers

Forks

Languages