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
相关推荐
mantou1322 分钟前
只用 Cloudflare 全家桶,给游戏站做一个 RAG 搜索和问答AI前端工程狮6 分钟前
服务端已经死了,客户端却报"超时"阿屿7 分钟前
从零手搓 AI 伴侣(二):好感度通胀危机,与它的「货币政策」师夷长技以自愈23 分钟前
第 2 篇:AI 点菜,程序端菜——第一次学会"工具调用"数据集_深度学习26 分钟前
果园红绿苹果目标检测数据集介绍和论文参考武子康28 分钟前
H3-World 的 11.3 小时训练数据,是怎样对齐成动作监督的?泯泷1 小时前
大模型会吃掉 Harness 吗?Agent 天空上的“两朵乌云”吴名氏.1 小时前
Java转AI Agent教程(第十二周)检索与切分LightBreeze20021 小时前
深入理解 Leaf-Spine:从网络拓扑到 AI 数据中心 FabricElastic 中国社区官方博客2 小时前
更少的位数,相同的召回率:DiskBBQ 更保守的自动校准扫描