[學習筆記] CS131 Computer Vision: Foundations and Applications:Lecture 2 顏色和數學基礎

來源:互聯網
上載者:User

標籤:hat   vector   skin   dex   png   result   單位   max   .com   

大綱

 

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 顏色和數學基礎

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.