OpenCV: Manipulating Images

OpenCV 4.5    |    Beginner
  • 10 videos | 1h 20m 47s
  • Includes Assessment
  • Earns a Badge
Likes 4 Likes 4
Images often require to be manipulated to extract meaningful portions of an image or prepare them for a machine learning pipeline. OpenCV can help with this. In this course, you'll investigate a variety of image manipulation operations using OpenCV. You'll begin by recognizing how to filter certain portions of an image using bitwise operations. Next, you'll explore the concept of masks and how to use them while extracting parts of an image. You'll then outline how to apply geometrical operations by resizing an image to specific dimensions and discover challenges that such operations present. You'll finish the course by examining image transformations such as rotations and translations to help orient an image to your requirements. Finally, you'll discover how to flip and warp images to present them from a different perspective.


  • discover the key concepts covered in this course
    outline the applications of bitwise AND, OR, NOT, and XOR operations on images
    create masks and inverted masks from a grayscale image
    transform a color image to grayscale and then generate a mask from it
    use the cv2.resize() function to reduce the size of a color image
  • apply cv2.resize() function to scale up an image along individual dimensions
    perform translations and rotations in increments of 90 degrees to orient an image
    rotate images by a specific angle around a specific center by generating a rotation matrix and applying an affine transformation
    flip images vertically and horizontally and warp them using a specified perspective
    summarize the key concepts covered in this course


  • Playable
    1.  Course Overview
    2m 25s
    In this video, you’ll learn more about your instructor and this course. In this course, you’ll learn about the image manipulation operations that can be carried out in OpenCV. You’ll learn how to perform bitwise… FREE ACCESS
  • Playable
    2.  Performing Bitwise Operations on Images in OpenCV
    10m 50s
    In this video, you’ll watch a demo about BitwiseOperations on images. You’ll begin by importing cv2 and then from matplotlib, you’ll import pyplot with the alias plt. You’ll display these images in your Jupyter notebook.… FREE ACCESS
  • Locked
    3.  Generating Masks with OpenCV
    10m 7s
    In this video, you’ll watch a demo using masks. You’ll learn that masks can be thought of as auxiliary images, which can be used to influence the portions of the input images that should be ignored while performing… FREE ACCESS
  • Locked
    4.  Creating a Mask from a Color Image in OpenCV
    5m 34s
    In this video, you’ll watch a demo that teaches you to generate a mask from an input image. You’ll start by reading in the image you’ll need for the mask. You’ll discover the code that's used to read this image in is… FREE ACCESS
  • Locked
    5.  Using OpenCV's Resize Function to Downscale an Image
    8m 14s
    In this video, you’ll watch a demo about scaling images. Scaling images involves changing the number of pixels, which changes the shape of the NumPy ndarray used to represent that image. You’ll start by importing cv2 and… FREE ACCESS
  • Locked
    6.  Using OpenCV's Resize Function to Upscale an Image
    10m 55s
    In this video, you’ll watch a demo about upscaling images. Then, you will learn to skew them. In the last demo, you performed a downscale operation. You’ll pick up there and perform an upscaling operation on the same… FREE ACCESS
  • Locked
    7.  Translating and Rotating Images with OpenCV
    9m 7s
    In this video, you’ll watch a demo about geometric transformations such as rotations, translations, perspective transformations, and scaling. You’ll begin by importing cv2, pyplot with the alias plt, and NumPy as… FREE ACCESS
  • Locked
    8.  Rotating Images with a Rotation Matrix in OpenCV
    10m 42s
    In this video, you’ll watch a demo. You’ll learn how to rotate by any angle and around center of rotation. Anytime a rotation is applied to a set of points in an xy plane, the new x coordinate is = x cos theta- y sine… FREE ACCESS
  • Locked
    9.  Flipping and Warping Images with OpenCV
    11m 10s
    In this video, you’ll watch a demo. In this demo, you’ll learn about other types of transformations, notably flips and perspective transformations. You’ll start by looking at the code required to flip an image around the… FREE ACCESS
  • Locked
    10.  Course Summary
    1m 44s
    In this video, you’ll summarize what you’ve learned in the course. In this course, you learned to perform bitwise operations on images to filter out certain portions of an image. You learned some parts of an image can be… FREE ACCESS


Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.