SlideShare a Scribd company logo
1 of 24
SIFT 的介紹與應用
ML/DM Monday
2013/3/11 癸已。乙卯。丙子
@scwang
http://sdrv.ms/ZsU8vG
Who Am I?
王紹權 (Shao-Chuan Wang)
Currently as SDE at
Had _some_ computer vision experience.
Mainly speak Python and C/C++.
    @scwang
    …/in/scwang
    shaochuan.wang
如何描述一張圖?(1/2)
如何描述一張圖?(2/2)
顏色?
材質?
局部? 全局?
形狀? Appearance?
 哪些點附近的形狀是「特徵點」?
 如何描述或量化?
如何決定好的描述法?
Distinctiveness 辨識度
  「心目中」不同的「樣子」,希望在描述空間中也
  長得很不一樣




Invariance 不變性 (robustness)
  「心目中」相同的「樣子」,希望在描述空間中也
  長得一樣
常見的不變性
Affine invariance         Viewpoint
   Scaling
   Skew
   Rotation/orientation
   Translation
                           Occlusion (遮住)


                          Luminance (強度, 色溫
辨識度與不變性之權衡
不變性一定會破壞一些辨識度 (e.g. 旋轉不變)




            VS


更極端的例子 (histogram of pixels)


正如同 ML 中, 太 Robust 的 model 也會把有用的資訊
吃掉
回到最初的第一個問題
哪些點附近的形狀是「特徵點」Interest point/keypoints?

 帶有「高度資訊」(high information)

 唯一/獨特: 沒有 ambiguous, 沒有 degeneracy

 舉例:



                  Corner/blobs are more
                  interesting than
                  edges and lines.
1D Blobs   2D Blobs
高斯的一、二階微分算子
尺度空間 (Scale Space)
     BLOB A                    BLOB B                   BLOB C




σA                        σB                       σC




              Local Extrema in (x*, σ*) – Space Represent Blobs
Blob 大小與特徵尺度成正比!
Blob Size          Characteristic Scale

 Given a 1D signal f(x).
         ¶2 ns
 Compute       * f (x)     at many scales (σ0, σ1, …,
 σ)      ¶x  2
  k

 Find:
                           ¶ ns    2
      (x , s ) = arg max 2 * f (x)
         *   *

                   ( x,s ) ¶x

         Characteristic scale
Convolution 與微分有交換律
I(x, y)             S(x, y, s 1 )        S(x, y, s 2 )   S(x, y, s 3 )



                                                             σ Large



          (x*, y*, s * ) = argmax s 2 Ñ2 ns * I(x, y)
                             ( x,y,s )
          (x , y , s ) = argmax s 2 Ñ2 S(x, y, s )
            *   *     *

                             ( x,y,s )
特徵尺度




       [Mikolajczyk 2004]
Laplacian of Gaussian
     V.S. Difference of
         Gaussian

G(x, y, ss )-G(x, y, s ) » (s -1)s 2Ñ2G.




                                           [Lowe 2004]
回到最初的第二個問題
    如何描述或量化? (Histogram of gradients)
        Assignment of orientation
                                    Principal Orientation
        Histogram of orientation




Characteristic Scale
                                                   [Lowe 2004]
主方向校正:有旋轉不變性
         主方向(Principal Orientation)決定之後, 在取量化
         表示之前,先將主方向轉至同一個方向。


                   DEMO
$ git clone https://github.com/shaochuan/MLDM-
demo.git
$ cd MLDM-demo/
$ ./pull_submod.sh
$ cd sift/
$ ./rotate
尺度不變性

                          Characteristic Scale




                   DEMO
$ git clone https://github.com/shaochuan/MLDM-
demo.git
$ cd MLDM-demo/
$ ./pull_submod.sh
$ cd sift/
$ ./scale
應用: 全景圖




          [Mikolajczyk 2004]
應用: 非變形物體追蹤/光流
     NAÏVE
     FLOW
     DEMO
$ ./tracking


光流應用:

防手震 (Video stabilization)
慢動作合成
(Synthetic slow motion)
還有很多圖學上的應用。。。
應用:重建 3D 模型




              [Pollefeys 2006]
應用: 辨識
配合 Bag-Of-Words 可用於辨識物體
Reference
[Mikolajczyk 2004] Scale & Affine Invariant
Interest Point Detectors.

[Lowe 2004] Distinctive Image Features from
Scale-Invariant Keypoints

[Pollefeys 2006] Towards Urban 3D
Reconstruction From Video

More Related Content

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

SIFT 的介紹與應用 MLDM 03-11-2013