大纲

what is color?

  • The result of interaction between physical light in the environment and our visual system.
  • A psychological property of our visual experiences when we look at objects and lights, not a physical property of those objects or lights.

Human encoding of color

Color Spaces

  • linear space: RGB/CIE XYZ
  • nolinear space: HSV

Use of color in computer vision:

  • color histogram for indexing and retrieval
  • skin detection
  • nude people detection
  • image segmentation and retrieval
  • build apperance models for tracking
  • ...

Linear Algebra Primer: Vectors and Matrix

1. 向量

列向量:$v \in R^{n*1} v = \begin{bmatrix} v_1 \\ v_2\\ \cdot \\ \cdot \\ \cdot \\ v_n \end{bmatrix}$

行向量:$v^T \in R^{1*n} v^T = [v_1 v_2 ... v_n]$  (T转置运算符)

向量使用:点的空间表示;表示数据,没有空间意义,但是计算仍然有意义

2. 矩阵

矩阵运算:addition, scaling

矩阵范数:

one norm:$||x||_1 = \sum_{i=1}^n |x_i| $

two norm:$||x||_2 = \sqrt{\sum_{i=1}^n x_i^2}

infinity norm: $||x||_inf = max |x_i|$

general P norm:||x||_p = (\sum_{i=1}^n x_i^p)^1/p$

matrix norm:||A||_F = \sqrt{\sum_{i=1}^m \sum_{j = 1}^n A_ij^2 = \sqrt{tr(A^TA)}$

矩阵的秩:

  • $det(AB) = det(BA)$
  • $det(A^-1) = \frac{1}{\det(A)}$
  • $det(A^T) = det(A)$
  • $det(A) = 0$ 当且仅当$A$是奇异的

矩阵的迹:对角元素的和

特殊矩阵:

  • 单位矩阵(Identity Matrix):对角元素为0,其他元素为1
  • 对角矩阵(diagonal matrix):非对角元素为0
  • 对称矩阵(Symmetric Matrix):$A^T = A$
  • 反对称矩阵(Skew-symmetric Matrix) $A^T = -A$

[学习笔记] CS131 Computer Vision: Foundations and Applications:Lecture 2 颜色和数学基础的更多相关文章

  1. [学习笔记] CS131 Computer Vision: Foundations and Applications:Lecture 1 课程介绍

    课程大纲:http://vision.stanford.edu/teaching/cs131_fall1718/syllabus.html 课程定位: 课程交叉: what is (computer) ...

  2. [学习笔记] CS131 Computer Vision: Foundations and Applications:Lecture 4 像素和滤波器

    Background reading: Forsyth and Ponce, Computer Vision Chapter 7 Image sampling and quantization Typ ...

  3. [学习笔记] CS131 Computer Vision: Foundations and Applications:Lecture 9 深度学习

    深度学习 So far this week Edge detection RANSAC SIFT K-Means Linear classifier Mean-shift PCA/Eigenfaces ...

  4. [学习笔记] CS131 Computer Vision: Foundations and Applications:Lecture 3 线性代数初步

    向量和矩阵 什么是矩阵/向量? Vectors and matrix are just collections of ordered numbers that represent something: ...

  5. Computer Vision: Algorithms and ApplicationsのImage processing

    实在是太喜欢Richard Szeliski的这本书了.每一章节(after chapter3)都详述了该研究方向比較新的成果.还有很多很多的reference,假设你感兴趣.全然能够看那些參考论文 ...

  6. Ionic3学习笔记(四)修改返回按钮文字、颜色

    本文为原创文章,转载请标明出处 目录 修改返回按钮文字 修改返回按钮颜色 1. 修改返回按钮文字 参考官网 Ionic API---Config 文档 可在 ./src/app/app.module. ...

  7. Computer Vision: OpenCV, Feature Tracking, and Beyond--From <<Make Things See>> by Greg

    In the 1960s, the legendary Stanford artificial intelligence pioneer, John McCarthy, famously gave a ...

  8. Computer Vision Algorithm Implementations

    Participate in Reproducible Research General Image Processing OpenCV (C/C++ code, BSD lic) Image man ...

  9. Learning ROS for Robotics Programming Second Edition学习笔记(五) indigo computer vision

    中文译著已经出版,详情请参考:http://blog.csdn.net/ZhangRelay/article/category/6506865 Learning ROS for Robotics Pr ...

随机推荐

  1. [Ynoi2019模拟赛]Yuno loves sqrt technology II

    题目大意: 给定一个长为\(n\)的序列,\(m\)次询问,每次查询一个区间的逆序对数. 32MB. 解题思路: 出题人题解 众所周知lxl是个毒瘤,Ynoi道道都是神仙题 二次离线莫队. 对于每个区 ...

  2. JAVA 中 重定向

    一.重定向:一个web资源收到客户端的请求后,通知客户端去访问另外一个web资源,这称之为请求重定向. 运用场景:如用户登录. 实现方式:通过response来实现: 如: 1.response.se ...

  3. Top English interview Q&A

    http://www.hjenglish.com/new/p581292/ vocabulary endeavour [ɪn'devər] relevant ['reləvənt] , efficie ...

  4. ARP(地址解析协议)

    目录 1. ARP 概述 2. ARP 协议工作原理 3. ARP 缓存 4. ARP 报文格式 5. 抓包分析 5.1. ARP 请求报文 5.2. ARP 应答报文 6. 免费 ARP 7. AR ...

  5. jQuery选择器练习中,带空格和不带空格的问题

    <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title> ...

  6. NEFU 2

    其实就是筛选素数. 如,若能被2是质数,则2的倍数全是合数.如此循环. #include <iostream> #include <math.h> #include <c ...

  7. R语言的帮助使用和图形功能简单介绍

    R语言的帮助使用和图形功能简单介绍 R语言帮助,在Windows桌面下,有很多种.最长使用的是在命令行下help() > help.start() 会在浏览器中,打开帮助的主页 watermar ...

  8. 【机房重构】—上机&amp;订餐

    前几天通过UML图中的时序图.让我对于机房重构中的每一条线理解的更加清晰.曾经认为上机特别的乱,在一次偶遇中,得知了原来它能够转化成我们平时订餐.以下就听我说一说上机&订餐的故事吧! 又是发生 ...

  9. android:layout_gravity 和android:gravit的区别?

    Android:layout_gravity 和android:gravit的区别? android:gravity是调整元素本身的内容或元素包含的子元素显示的位置,默认是显示在左侧 android: ...

  10. 敏捷开发 —— TDD(测试驱动开发)

    测试驱动开发 TDD(Test-Driven Development)是敏捷开发的一项核心实践,同时也是一种设计技术和方法. 既然是测试驱动,便是测试,测试用例先行: 首先编写好测试用例,期待值,实际 ...