SlideShare a Scribd company logo
WEEKLY REPORT
Thur., Jan 09, 2014
Pin Yi Tsai
OUTLINE
• How to obtain the exact number of each type

• The formula
• Take type A as example
FORMULA TO OBTAIN THE EXACT NUMBER OF
EACH TYPE
• Wimg : width of the image

• Dw : the difference between iterations of width (varies with types)
• Dh : the difference between iterations of height (varies with types)
• {[([(Wimg -3)% Dw] + Wimg -3) * (((Wimg -3 - [(Wimg -3)% Dw])/
Dw )+1 )]/2} *
{[([(Wimg -2)% Dh] + Wimg -2) * (((Wimg -2 - [(Wimg -2)% Dh])/
Dh )+1)]/2}
FORMULA TO OBTAIN THE EXACT NUMBER OF
EACH TYPE type (D , D ) amount
w

h

A

(4, 2)

1568

B

(2, 4)

1568

C

(2, 6)

1008

D

(2, 8)

784

E

(6, 2)

1008

F

(8, 2)

784

G

(4, 4)

784

H

(4, 4)

784

I

(4, 4)

784

J

(4, 4)

784

K

(4, 4)

784
FORMULA TO OBTAIN THE EXACT NUMBER OF
EACH TYPE
•

Type A :
• Dw : 4 (2*2)
 each iteration computes 2 horizontal pixels
 w increased by 2
• Dh : 2

 h increased by 2
 w, h, x, y = (0,0,0,0)
•

right=(1,2)+(0,1)-(0,2)-(1,1)

•

left=(1,1)+(0,0)-(0,1)-(1,0)

 y increased by 1
FORMULA TO OBTAIN THE EXACT NUMBER OF
EACH TYPE
•

Type A :

• Dw : 4 (2*2)
• Dh : 2
 w, h, x, y = (0,0,0,0)
•

right=(1,2)+(0,1)-(0,2)-(1,1)

•

left=(1,1)+(0,0)-(0,1)-(1,0)

 x increased by 1
FORMULA TO OBTAIN THE EXACT NUMBER OF
EACH TYPE
•

Type A :

• Dw : 4 (2*2)
• Dh : 2
•

w, h, x, y =(0,2,0,0)
•

right=(3,2)+(0,1)-(0,2)-(3,1)

•

left=(3,1)+(0,0)-(0,1)-(3,0)

 x increased by 1
 y increased by 1
FORMULA TO OBTAIN THE EXACT NUMBER OF
EACH TYPE
•

Type B:

• Dw : 2
 w increased by 2
• Dh : 4 (2*2)

 each iteration computes 2 vertical pixels
 h increased by 2
FORMULA TO OBTAIN THE EXACT NUMBER OF
EACH TYPE
•

Type C:

• Dw : 2
• w increased by 2
• Dh : 6 (2*3)

• each iteration computes 3 vertical pixels
• h increased by 2
FORMULA TO OBTAIN THE EXACT NUMBER OF
EACH TYPE
•

Type D:

• Dw : 2
• w increased by 2
• Dh : 8 (2*4)

• each iteration computes
4 vertical pixels
• h increased by 2
FORMULA TO OBTAIN THE EXACT NUMBER OF
EACH TYPE
•

Type E:

• Dw : 6 (2*3)
• each iteration computes
3 vertical pixels

• w increased by 2
• Dh : 2
• h increased by 2
FORMULA TO OBTAIN THE EXACT NUMBER OF
EACH TYPE
•

Type F:

• Dw : 8 (2*4)
• each iteration computes
4 vertical pixels

• w increased by 2
• Dh : 2
• h increased by 2
FORMULA TO OBTAIN THE EXACT NUMBER OF
EACH TYPE
•

Type G:HIJK

• Dw : 4 (2*2)
• w increased by 2
• Dh : 4 (2*2)

• h increased by 2
The End
DO TRANSPOSE
•

In order to calculate integral image by column-major

•

Make ( i , j ) to ( j , I )
A

B

C

D

E

F

G

H

I

J

K

L

A

D

G

J

B

E

H

K

C

F

I

L

More Related Content

What's hot

Lecture03 p1
Lecture03 p1Lecture03 p1
Lecture03 p1
aa11bb11
 
Proga 0518
Proga 0518Proga 0518
Proga 0518
Atsushi Tadokoro
 
Regras diferenciacao
Regras diferenciacaoRegras diferenciacao
Regras diferenciacao
Uniengenheiros2011
 
Funções 2
Funções  2Funções  2
Funções 2
KalculosOnline
 
Mat. persamaan kuadrat
Mat. persamaan kuadratMat. persamaan kuadrat
Mat. persamaan kuadrat
julyastari
 
Pde unit 1
Pde unit 1Pde unit 1
Pde unit 1
Rajini10
 
Energía
EnergíaEnergía
Expresiones algebraicas
Expresiones algebraicasExpresiones algebraicas
Expresiones algebraicas
LuisCarlosgimenezCon
 
Dip 2
Dip 2Dip 2
Ch14 34
Ch14 34Ch14 34
Ch14 34
schibu20
 
Algebra 2 Notes 2-7
Algebra 2 Notes 2-7Algebra 2 Notes 2-7
Algebra 2 Notes 2-7
Kate Nowak
 
4.5 tan and cot.ppt worked
4.5   tan and cot.ppt worked4.5   tan and cot.ppt worked
4.5 tan and cot.ppt worked
Jonna Ramsey
 
Presentacio mate tema 2
Presentacio mate tema 2Presentacio mate tema 2
Gauss in java
Gauss in javaGauss in java
Gauss in java
baxter89
 
24 modelling
24 modelling24 modelling
24 modelling
Hadley Wickham
 
Gopher conbr golang e data science - oficial
Gopher conbr   golang e data science - oficialGopher conbr   golang e data science - oficial
Gopher conbr golang e data science - oficial
Rodrigo Pinheiro
 
Practica productos notables
Practica productos notablesPractica productos notables
Practica productos notables
Lina Ari
 

What's hot (17)

Lecture03 p1
Lecture03 p1Lecture03 p1
Lecture03 p1
 
Proga 0518
Proga 0518Proga 0518
Proga 0518
 
Regras diferenciacao
Regras diferenciacaoRegras diferenciacao
Regras diferenciacao
 
Funções 2
Funções  2Funções  2
Funções 2
 
Mat. persamaan kuadrat
Mat. persamaan kuadratMat. persamaan kuadrat
Mat. persamaan kuadrat
 
Pde unit 1
Pde unit 1Pde unit 1
Pde unit 1
 
Energía
EnergíaEnergía
Energía
 
Expresiones algebraicas
Expresiones algebraicasExpresiones algebraicas
Expresiones algebraicas
 
Dip 2
Dip 2Dip 2
Dip 2
 
Ch14 34
Ch14 34Ch14 34
Ch14 34
 
Algebra 2 Notes 2-7
Algebra 2 Notes 2-7Algebra 2 Notes 2-7
Algebra 2 Notes 2-7
 
4.5 tan and cot.ppt worked
4.5   tan and cot.ppt worked4.5   tan and cot.ppt worked
4.5 tan and cot.ppt worked
 
Presentacio mate tema 2
Presentacio mate tema 2Presentacio mate tema 2
Presentacio mate tema 2
 
Gauss in java
Gauss in javaGauss in java
Gauss in java
 
24 modelling
24 modelling24 modelling
24 modelling
 
Gopher conbr golang e data science - oficial
Gopher conbr   golang e data science - oficialGopher conbr   golang e data science - oficial
Gopher conbr golang e data science - oficial
 
Practica productos notables
Practica productos notablesPractica productos notables
Practica productos notables
 

Viewers also liked

The City of Chicago
The City of ChicagoThe City of Chicago
The City of Chicago
Rob Hannah
 
20131121
2013112120131121
20131121
Jocelyn
 
Macnaught MX Series of Oval Gear Flow Meters
Macnaught MX Series of Oval Gear Flow MetersMacnaught MX Series of Oval Gear Flow Meters
Macnaught MX Series of Oval Gear Flow Meters
Bell Flow Systems
 
Hedland Variable Area Flow Meters
Hedland Variable Area Flow MetersHedland Variable Area Flow Meters
Hedland Variable Area Flow Meters
Bell Flow Systems
 
Blancett Turbine Flow Meters
Blancett Turbine Flow MetersBlancett Turbine Flow Meters
Blancett Turbine Flow Meters
Bell Flow Systems
 
20131219
2013121920131219
20131219
Jocelyn
 
Electromagnetic Flow Meters Overview (Badger Meter)
Electromagnetic Flow Meters Overview (Badger Meter)Electromagnetic Flow Meters Overview (Badger Meter)
Electromagnetic Flow Meters Overview (Badger Meter)
Bell Flow Systems
 
هرم نیاز مازلو
هرم نیاز مازلوهرم نیاز مازلو
هرم نیاز مازلو
Shahram Honarmayeh
 
Pricelist Zubit Life Care - PCD Pharma Company | PCD Pharma Franchise | Pharm...
Pricelist Zubit Life Care - PCD Pharma Company | PCD Pharma Franchise | Pharm...Pricelist Zubit Life Care - PCD Pharma Company | PCD Pharma Franchise | Pharm...
Pricelist Zubit Life Care - PCD Pharma Company | PCD Pharma Franchise | Pharm...
Zubit Life Care
 
The DXN Portable Ultrasonic Flow Meter
The DXN Portable Ultrasonic Flow MeterThe DXN Portable Ultrasonic Flow Meter
The DXN Portable Ultrasonic Flow Meter
Bell Flow Systems
 
Vortex Flow Meters- Badger Meter
Vortex Flow Meters- Badger MeterVortex Flow Meters- Badger Meter
Vortex Flow Meters- Badger Meter
Bell Flow Systems
 
Hydraulic Turbine Flow Meters (flo-tech)
Hydraulic Turbine Flow Meters (flo-tech)Hydraulic Turbine Flow Meters (flo-tech)
Hydraulic Turbine Flow Meters (flo-tech)
Bell Flow Systems
 
VuHeat Ultrasonic Heat Meters Datasheets
VuHeat Ultrasonic Heat Meters DatasheetsVuHeat Ultrasonic Heat Meters Datasheets
VuHeat Ultrasonic Heat Meters Datasheets
Bell Flow Systems
 
20131212
2013121220131212
20131212
Jocelyn
 
20131114
2013111420131114
20131114
Jocelyn
 
20131024
2013102420131024
20131024
Jocelyn
 
20131107
2013110720131107
20131107
Jocelyn
 
20131002
2013100220131002
20131002
Jocelyn
 
Presentation1
Presentation1Presentation1
Presentation1Olonlog
 

Viewers also liked (20)

La CTE
La CTELa CTE
La CTE
 
The City of Chicago
The City of ChicagoThe City of Chicago
The City of Chicago
 
20131121
2013112120131121
20131121
 
Macnaught MX Series of Oval Gear Flow Meters
Macnaught MX Series of Oval Gear Flow MetersMacnaught MX Series of Oval Gear Flow Meters
Macnaught MX Series of Oval Gear Flow Meters
 
Hedland Variable Area Flow Meters
Hedland Variable Area Flow MetersHedland Variable Area Flow Meters
Hedland Variable Area Flow Meters
 
Blancett Turbine Flow Meters
Blancett Turbine Flow MetersBlancett Turbine Flow Meters
Blancett Turbine Flow Meters
 
20131219
2013121920131219
20131219
 
Electromagnetic Flow Meters Overview (Badger Meter)
Electromagnetic Flow Meters Overview (Badger Meter)Electromagnetic Flow Meters Overview (Badger Meter)
Electromagnetic Flow Meters Overview (Badger Meter)
 
هرم نیاز مازلو
هرم نیاز مازلوهرم نیاز مازلو
هرم نیاز مازلو
 
Pricelist Zubit Life Care - PCD Pharma Company | PCD Pharma Franchise | Pharm...
Pricelist Zubit Life Care - PCD Pharma Company | PCD Pharma Franchise | Pharm...Pricelist Zubit Life Care - PCD Pharma Company | PCD Pharma Franchise | Pharm...
Pricelist Zubit Life Care - PCD Pharma Company | PCD Pharma Franchise | Pharm...
 
The DXN Portable Ultrasonic Flow Meter
The DXN Portable Ultrasonic Flow MeterThe DXN Portable Ultrasonic Flow Meter
The DXN Portable Ultrasonic Flow Meter
 
Vortex Flow Meters- Badger Meter
Vortex Flow Meters- Badger MeterVortex Flow Meters- Badger Meter
Vortex Flow Meters- Badger Meter
 
Hydraulic Turbine Flow Meters (flo-tech)
Hydraulic Turbine Flow Meters (flo-tech)Hydraulic Turbine Flow Meters (flo-tech)
Hydraulic Turbine Flow Meters (flo-tech)
 
VuHeat Ultrasonic Heat Meters Datasheets
VuHeat Ultrasonic Heat Meters DatasheetsVuHeat Ultrasonic Heat Meters Datasheets
VuHeat Ultrasonic Heat Meters Datasheets
 
20131212
2013121220131212
20131212
 
20131114
2013111420131114
20131114
 
20131024
2013102420131024
20131024
 
20131107
2013110720131107
20131107
 
20131002
2013100220131002
20131002
 
Presentation1
Presentation1Presentation1
Presentation1
 

Recently uploaded

Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
TIPNGVN2
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Zilliz
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Zilliz
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Vladimir Iglovikov, Ph.D.
 

Recently uploaded (20)

Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
 

20140109

  • 1. WEEKLY REPORT Thur., Jan 09, 2014 Pin Yi Tsai
  • 2. OUTLINE • How to obtain the exact number of each type • The formula • Take type A as example
  • 3. FORMULA TO OBTAIN THE EXACT NUMBER OF EACH TYPE • Wimg : width of the image • Dw : the difference between iterations of width (varies with types) • Dh : the difference between iterations of height (varies with types) • {[([(Wimg -3)% Dw] + Wimg -3) * (((Wimg -3 - [(Wimg -3)% Dw])/ Dw )+1 )]/2} * {[([(Wimg -2)% Dh] + Wimg -2) * (((Wimg -2 - [(Wimg -2)% Dh])/ Dh )+1)]/2}
  • 4. FORMULA TO OBTAIN THE EXACT NUMBER OF EACH TYPE type (D , D ) amount w h A (4, 2) 1568 B (2, 4) 1568 C (2, 6) 1008 D (2, 8) 784 E (6, 2) 1008 F (8, 2) 784 G (4, 4) 784 H (4, 4) 784 I (4, 4) 784 J (4, 4) 784 K (4, 4) 784
  • 5. FORMULA TO OBTAIN THE EXACT NUMBER OF EACH TYPE • Type A : • Dw : 4 (2*2)  each iteration computes 2 horizontal pixels  w increased by 2 • Dh : 2  h increased by 2  w, h, x, y = (0,0,0,0) • right=(1,2)+(0,1)-(0,2)-(1,1) • left=(1,1)+(0,0)-(0,1)-(1,0)  y increased by 1
  • 6. FORMULA TO OBTAIN THE EXACT NUMBER OF EACH TYPE • Type A : • Dw : 4 (2*2) • Dh : 2  w, h, x, y = (0,0,0,0) • right=(1,2)+(0,1)-(0,2)-(1,1) • left=(1,1)+(0,0)-(0,1)-(1,0)  x increased by 1
  • 7. FORMULA TO OBTAIN THE EXACT NUMBER OF EACH TYPE • Type A : • Dw : 4 (2*2) • Dh : 2 • w, h, x, y =(0,2,0,0) • right=(3,2)+(0,1)-(0,2)-(3,1) • left=(3,1)+(0,0)-(0,1)-(3,0)  x increased by 1  y increased by 1
  • 8. FORMULA TO OBTAIN THE EXACT NUMBER OF EACH TYPE • Type B: • Dw : 2  w increased by 2 • Dh : 4 (2*2)  each iteration computes 2 vertical pixels  h increased by 2
  • 9. FORMULA TO OBTAIN THE EXACT NUMBER OF EACH TYPE • Type C: • Dw : 2 • w increased by 2 • Dh : 6 (2*3) • each iteration computes 3 vertical pixels • h increased by 2
  • 10. FORMULA TO OBTAIN THE EXACT NUMBER OF EACH TYPE • Type D: • Dw : 2 • w increased by 2 • Dh : 8 (2*4) • each iteration computes 4 vertical pixels • h increased by 2
  • 11. FORMULA TO OBTAIN THE EXACT NUMBER OF EACH TYPE • Type E: • Dw : 6 (2*3) • each iteration computes 3 vertical pixels • w increased by 2 • Dh : 2 • h increased by 2
  • 12. FORMULA TO OBTAIN THE EXACT NUMBER OF EACH TYPE • Type F: • Dw : 8 (2*4) • each iteration computes 4 vertical pixels • w increased by 2 • Dh : 2 • h increased by 2
  • 13. FORMULA TO OBTAIN THE EXACT NUMBER OF EACH TYPE • Type G:HIJK • Dw : 4 (2*2) • w increased by 2 • Dh : 4 (2*2) • h increased by 2
  • 15. DO TRANSPOSE • In order to calculate integral image by column-major • Make ( i , j ) to ( j , I ) A B C D E F G H I J K L A D G J B E H K C F I L