Computer Vision Lab 3 Manual
Computer Vision Lab 3 Manual
Image Processing
Objectives
In this lab, you will learn how to perform a variety of image processing and
computer vision tasks using the OpenCV library. These tasks include:
Basic Image Operations: Displaying, cropping, flipping, and rotating
images.
Advanced Tasks: Image segmentation, classification, restoration,
recognition, and generation.
Cloud Operations: Storing, transmitting, and gathering images from the
internet.
Python is an excellent choice for these tasks because it offers many image
processing, computer vision, and artificial intelligence libraries. Additionally,
Python’s ecosystem includes robust libraries for handling files in the cloud.
A digital image is simply a file on your computer. In this lab, you will gain an
understanding of these files and learn how to manipulate them with popular
libraries.
Topics Covered:
OpenCV: Basic functions, crop & resize, shape & text.
Blending and overlaying images using arithmetic operations.
Lab Tasks:
Home Task:
Additional Resources
For further reading and help with these tasks, consider exploring these links:
1. OpenCV: Apply Mask to a Color Image
2. Overlay a Smaller Image on a Larger Image in OpenCV
3. OpenCV Tutorial on Image Arithmetics
Notebook References
1. Resizing and Shapes Notebook
2. Blending and Pasting Images Notebook
Conclusion
In this lab, you explored a variety of essential computer vision tasks using the
OpenCV library. You learned how to:
Download and display images.
Capture video from a webcam.
Apply basic image processing functions such as grayscale conversion,
Gaussian blur, and edge detection.
Crop, resize, and manipulate images by adding shapes and text.
Blend and overlay images using both arithmetic operations and masking
techniques.
These skills form the foundation for more advanced image processing and computer
vision projects. Happy coding!