COMP9517: Computer Vision
2023 T3 Lab 1 Specification
Maximum Marks Achievable: 2.5
This lab is worth 2.5% of the total course mark .
Objectives: This lab revisits important concepts covered in the Week 1 and Week 2 lectures and aims to make you familiar with implementing specific algorithms.
Preliminaries: As mentioned in the first lecture, we assume you are familiar with programming in Python or are willing to learn it independently. You do not need to be an expert, as you will further develop your skills during the course, but you should at least know the basics. If you do not yet know Python, we assume you are familiar with at least one other programming language such as C, in which case it should be relatively easy to learn Python.
To learn or brush up your Python skills, see several free online resources listed at the end of this document. Especially if you already know C or similar languages, there is no need to go through all the linked resources in detail. Just quickly learn the syntax and the main features of the language. The rest will follow as you go.
For implementing and testing computer vision algorithms, we use OpenCV in this course.
OpenCV is a library of programming functions mainly for computer vision. The library is crossplatform and licensed as free and open-source software under Apache License 2. It also supports training and execution of machine/deep learning models. Originally written in C, with new algorithms developed in C++, it has wrappers for languages such as Python and Java. As stated above, in this course we will focus on programming in Python. See the links below for OpenCV tutorials and documentation.
Software: You are required to use OpenCV 3+ with Python 3+ and submit your code as a Jupyter notebook (see coding and submission requirements below). In the first tutor consultation session this week, your tutors will give a demo of the software to be used, and you can ask any questions you may have about this.
Materials: The sample images to be used in this lab are available via WebCMS3.
Submission: All code and requested results are assessable after the lab. Submit your source code as a Jupyter notebook (.ipynb) which includes all output and answers to all questions (see coding requirements at the end of this document) by the above deadline. The submission link will be announced in due time.
1. Contrast Stretching
Contrast is a measure of the range of intensity values in an image and is defined as the difference between the maximum pixel value and minimum pixel value. The maximum possible contrast of an 8-bit image is 255 (max) -- 0 (min) = 255. Any value less than that means the image has lower contrast than possible. Contrast stretching attempts to improve the contrast of the image by stretching the range of intensity values using linear scaling.
COMP9517 Computer Vision
_0206girl2024-01-08 14:40
相关推荐
用户5191495848454 分钟前
Next.js CVE-2025-29927漏洞自动化扫描器mys55185 分钟前
杨建允:AI搜索优化对本地生活、本地服务行业的影响code tsunami8 分钟前
如何将 Helium 与 CapSolver 集成,实现无缝 CAPTCHA 自动化解决AI科技星8 分钟前
空间螺旋电磁耦合常数 Z‘:拨开迷雾,让电磁力变得直观易懂玄同7659 分钟前
Python 异常捕获与处理:从基础语法到工程化实践的万字深度指南云说智树10 分钟前
从硅基劳动力到智能工厂:研华iFactory.AI Agent重塑制造新质生产力Coder个人博客14 分钟前
Llama.cpp GGML 模块深度分析Das116 分钟前
【机器学习】02_线性模型用户51914958484517 分钟前
Apache Tomcat CVE-2025-24813漏洞检测工具yongui4783418 分钟前
基于BP_Adaboost的分类器和RBF神经网络回归的实现方法