Color Images - MITLL RACECAR-MN

Lab 2A

Color Images

This lecture is part of the RACECAR-MN introductory robotics course.

You can visit the course webpage at mitll-racecar-mn.readthedocs.io.

7/8/2020

Page 1

Objectives

Main Objective: Identify objects in a color image

based on color

Learning Objectives

? Learn how to use Jupyter notebooks

? Use OpenCV functions to build image processing

functions

? Understand and implement proportional control

7/8/2020

Page 2

Lab 2 Demo

7/8/2020

Page 3

Color Space

? Color models map input values to colors

? Color space is a range of colors a color model

covers

? BGR models use measurements of blue, green, red

BGR

HSV

7/8/2020

Page 4

HSV

? Hue: the base color

¨C Range: 0¡ã - 180¡ã

? Saturation: inverse the amount of white

¨C Range: 0 - 255

? Value: inverse the amount of black

¨C Range: 0 - 255

? H: 90¡ã

? S: 194

? V: 207

7/8/2020

Page 5

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download