Skip to content

This lab explores image processing techniques using OpenCV in Python. Tasks include converting an RGB image to the HSV color space, translating an image, rotating an image without cropping, and scaling an image.

Notifications You must be signed in to change notification settings

Fay-Balhareth/Lab-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

image

Task 1: Convert a color image (RGB) to (HSV) color space using OpenCV. Show the three channels separated. Save them.

image

Task2:

Translate an Image Write a Python script that loads an image and translates it 100 pixels to the right and 50 pixels down. Then, display the original and translated images side by side.

Rotate an Image Without Cropping Rotate an image by 30 degrees clockwise, ensuring that the entire image is visible and not cropped. Adjust the size of the resulting image window so that the whole rotated image fits within it.

Scale an Image Load an image and resize it, doubling its width while keeping the height the same. Display the original and resized images to compare them.

image

About

This lab explores image processing techniques using OpenCV in Python. Tasks include converting an RGB image to the HSV color space, translating an image, rotating an image without cropping, and scaling an image.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published