Experiment 1 LAB Manual
Experiment 1 LAB Manual
Experiment 1 LAB Manual
EXPERIMENT NO. 1
CO/LO: Describe the fundamentals of computing on images.
AIM / OBJECTIVE:
To perform Geometric Transformations using OpenCV/Pillow Library.
DESCRIPTION OF EXPERIMENT:
Perform following geometric transformations on any Image for using PIL/OpenCV:
1. Read Image
2. Perform the following operations individually:
a. Scaling
b. Translation
c. Rotation
3. Perform composite transformations on an image (scale then rotate by an angle)
QUESTIONS:
• Describe any application where geometric transformations can be used.
SOURCE CODE:
REFERENCES:
Website References:
[1]. Gonzalez, Rafael C., and Richard E. Woods. “Digital image processing” (2017).
[2]. Felix Liu, “Understanding Transformations in Computer Vision: An Overview of Affine
Transformations and Homographies”. Available at: https://towardsdatascience.com/understanding-
transformations-in-computer-vision-b001f49a9e61
Academic Year 2023-24 SAP ID:
[3]. Image Processing in Python (Scaling, Rotating, Shifting and Edge Detection) Available at:
https://www.geeksforgeeks.org/image-processing-in-python-scaling-rotating-shifting-and-edge-
detection/?ref=lbp
[4]. Geometric Transformations of Images, Available at:
https://docs.opencv.org/3.4/da/d6e/tutorial_py_geometric_transformations.html
[5]. https://docs.scipy.org/doc/scipy/reference/generated/scipy.ndimage.affine_transform.html
[6]. https://homepages.inf.ed.ac.uk/rbf/HIPR2/affine.htm