FUNDAMENTALS OF COMPUTER VISION
cod. 1007096

Academic year 2025/26
2° year of course - First semester
Professor
Massimo BERTOZZI
Academic discipline
Sistemi di elaborazione delle informazioni (ING-INF/05)
Field
Ingegneria informatica
Type of training activity
Characterising
48 hours
of face-to-face activities
6 credits
hub: PARMA
course unit
in ITALIAN

Learning objectives

The course aims to provide the knowledge necessary for the design and application of artificial vision systems, promoting the acquisition of design skills that can also be directly used in a work environment. The course includes the presentation of basic methodological notions, the development of advanced topics also through specific seminars, and the carrying out of mandatory individual laboratory exercises. To carry out the laboratory activities, students must have software development skills, mainly in a C/Linux/OpenCV environment.

Prerequisites

Artificial Vision requires practical knowledge of the topics covered in the courses of Electronic Calculators, Fundamentals of Computer Science, and Operating Systems. For the development of the projects, the C/C++ language will be used with the help of the OpenCV library.

Course unit content

Fundamental algorithms and concepts of Computer Vision:
00. introduction
01. images and image formats
02. cameras
03. local processing
04. point processing
05. binary images and mathematical morphology
06. edge and line detection
07. camera models
08. camera calibration
09. monocular geometry
10. epipolar geometry
11. stereo vision
12. model fitting (RANSAC)
13. features extraction
14. SIFT
15. feature matching
16. segmentation
17. structure from motion
18. OpenCV

Full programme

00. course introduction and overview of computer vision
01. images: types and formats (raster/vector, pixel depth, BMP/PNG/JPEG formats)
02. cameras: light spectrum, acquisition pipeline, CCD and CMOS sensors, color extraction techniques, Bayer pattern
03. local processing: 2D convolution, smoothing filters, gradient computation, non-linear filters (bilateral filtering), integral image and applications
04. point processing: histogram, brightness and contrast modifications, gamma correction, histogram equalization and adaptive histogram equalization
05. binary images and mathematical morphology: thresholding, optimal threshold estimation, morphological operations (erosion, dilation, opening, closing), connected components extraction, extension to greyscale images
06. edge and line detection: edge types, Canny edge detector, standard and generalized Hough transform
07. camera models: pin-hole camera, lenses, 3D-to-image-plane projection, intrinsic and extrinsic parameters
08. camera calibration: estimation of camera parameters, homography, calibration from known planar targets
09. monocular geometry: vanishing points and lines, single-view calibration, estimation of scene geometry
10. epipolar geometry: motivation for stereo vision, epipolar constraints, essential and fundamental matrices, stereo image rectification
11. stereo vision: disparity concept, correspondence search with NCC and SAD, 3D reconstruction
12. model fitting: least squares, outlier problems, robust statistics and RANSAC
13. features extraction: feature and keypoint concept, ideal characteristics, Harris corner detector, scale-invariant detectors, Gaussian pyramids
14. SIFT (Scale-Invariant Feature Transform): scale-space construction (DoG), keypoint detection and localization, orientation assignment
15. feature matching: SIFT, BRIEF and BRISK descriptors, matching techniques, applications (image stitching)
16. segmentation: K-means, mean-shift, Gestalt principles, semantic and instance segmentation
+ OpenCV: introduction to the OpenCV library, cv::Mat class (members, methods and constructors), image I/O, main classes and functions, analysis of example programs and laboratory exercises in C++

Bibliography

D. A. Forsyth and J. Ponce. Computer Vision: A Modern Approach (2nd Edition). Prentice Hall, 2011.

R. Hartley and A. Zisserman. Multiple View Geometry in Computer Vision. Cambridge University Press, 2003.

Teaching methods

Both theory lessons and OpenCV tests on personal laptop

Assessment methods and criteria

SCORE
- written essay on THEORY topics, 2 hours, 25 POINTS (minimum 15)
- laboratory test using personal laptop, 2 hours, 5 POINTS (minimum 3)
- optional assignements in the laboratory that leads to exemption from laboratory test
- theory or practical tests can be replaced or supplemented by an oral test

VALIDITY'
Theory test, practice test and assignments remain valid until the autumn session.

WRITTEN TEST MODE
2-3 open-ended questions on theory topics.
It is not allowed to consult notes or manuals.

PRACTICAL TEST MODE
Write a C/C++ program similar to the ones seen during laboratory lessons:
- it will take place in the laboratory
- the use of personal laptops is permitted
- you are allowed to use any type of material and OFFLINE code: notes, sample code, exercises, manuals, assignments and other code that you have written.
- It is NOT allowed to consult online sites during the test
it will be evaluated even if the code compiles and terminates correctly (no crashes or various segmentation faults)

Other information

2030 agenda goals for sustainable development

The course contributes to the following Sustainable Development Goals of the UN 2030 Agenda:

Goal 4 – Quality Education: the course provides advanced technical training in computer engineering, promoting the development of skills applicable in the workplace and in research.

Goal 9 – Industry, Innovation and Infrastructure: the course content (image processing, stereo vision, 3D reconstruction, deep learning) is directly applicable to the development of intelligent systems, robotics, autonomous driving and industrial automation.

Goal 11 – Sustainable Cities and Communities: the computer vision technologies studied in the course are applied in autonomous mobility, urban monitoring and intelligent transportation systems.

Goal 3 – Good Health and Well-being: image processing and analysis techniques are fundamental in medical imaging and automated diagnostics.

Contact for this course


Student registry office

Contact the service desk unipr for information on your career and enrollment procedures.

Teaching quality service

T. +39 0521 903663
E. dia.didattica@unipr.it

Education manager:
Elena Roncai

Student representatives

Francesco Zizza
E. francesco.zizza@studenti.unipr.it