COMP9517 Computer Vision

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.

相关推荐
东临碣石825 分钟前
【字节跳动AI论文】Seaweed-7B:视频生成基础模型的高成本效益培训
人工智能
大话数据分析7 分钟前
现在AI大模型能帮做数据分析吗?
人工智能·数据分析
lixy57912 分钟前
深度学习之线性代数基础
人工智能·深度学习·线性代数
happyprince25 分钟前
LLM Post-Training
人工智能
听风吹等浪起30 分钟前
NLP实战(3):RNN英文名国家分类
人工智能·python·rnn·深度学习
奋斗者1号31 分钟前
机器学习中的分类算法与数据处理实践:从理论到应用
人工智能·机器学习·分类
编码小哥32 分钟前
OpenCV直方图均衡化全面解析:从灰度到彩色图像的增强技术
人工智能·opencv·计算机视觉
不爱吃于先生32 分钟前
机器学习概述自用笔记(李宏毅)
人工智能·笔记·机器学习
上理考研周导师37 分钟前
【过程控制系统】PID算式实现,控制系统分类,工程应用中控制系统应该注意的问题
人工智能·分类·数据挖掘
新智元1 小时前
GPT-4.1 深夜登场,中科大校友领队!百万上下文编程惊人,GPT-4.5 三个月后淘汰
人工智能·openai