大纲

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. java基础口述

    1:什么是变量?变量的定义格式?要使用变量需要注意什么? 在程序运行过程中,其值是可以在某个范围内发生改变的量. 变量其实就是内存中一小块区域. 由3部分组成: 1,数据类型: 限定变量的取值 2,变 ...

  2. 小松之LINUX 驱动学习笔记(一)

    本篇主要是讲解驱动开发的基础知识以及一些环境配置方面的问题. 下面是一个hello world的简单的模块代码,很简单./*********************** 模块的简单例子* author ...

  3. 【codeforces 803C】Maximal GCD

    [题目链接]:http://codeforces.com/contest/803/problem/C [题意] 给你一个数字n;一个数字k; 让你找一个长度为k的序列; 要求这个长度为k的序列的所有数 ...

  4. 使用sdk自带工具uiautomatorviewer查看app控件属性

    双击打开即可 其只显示模拟器中的当前页面,所以需要在模拟器中打开你需要的页面,然后刷新

  5. git常规使用的命令

    注: xxxx代表你的分支名称   1:本地新建一个分支,与远程分支关联: git branch --set-upstream-to origin/xxxx xxxx   2:创建本地分支: git ...

  6. 香蕉派 Banana pi BPI-M2 四核开源单板计算机.

     Banana PI BPI-M2 是一款四核高性能单板计算机,Banana PI BPI-M2是一款比树莓派更强悍的四核Android4.4产品. Banana PI BPI-M2兼容性强大,能 ...

  7. Linux下I/O复用 Select与Poll

    Select #include <sys/time.h>#include <sys/types.h>#include <sys/unistd.h> int sele ...

  8. JavaScript AMD规范简单介绍(一)

    AMD是"Asynchronous Module Definition"的缩写.意思就是"异步模块定义". AMD定义了我们所用的模块都是是异步载入的,所以我们 ...

  9. 用opencv实现的PCA算法,非API调用

    理论參考文献:但此文没有代码实现.这里自己实现一下,让理解更为深刻 问题:如果在IR中我们建立的文档-词项矩阵中,有两个词项为"learn"和"study",在 ...

  10. js 数组克隆

    在JS中,对于对象类型的变量的引用是通过类似C之类的"指针"的方式来操作的,及假设多个变量引用同一个对象,则随意一个变量对对象的操作都会影响到其他的变量. 这个可能不是非常明确,以 ...