Five Minute Speech - Building a Prototype for a Lightweight Image Processing Library in C++

5
Universidade Federal do Rio de Janeiro - UFRJ - Campus Cidade Universitária - Rio de Janeiro - Ilha do Fundão, CEP: 21941-972 - COPPE/PESC/LCG Five Minute Speech :: Building a Prototype for a Lightweight Image Processing Library in C++ :: Laboratory Seminars and Meetings :: December, 2013 Five Minute Speech Building a Prototype for a Lightweight Image Processing Library in C++ Michel Alves dos Santos Pós-Graduação em Engenharia de Sistemas e Computação Universidade Federal do Rio de Janeiro - UFRJ - COPPE Cidade Universitária - Rio de Janeiro - CEP: 21941-972 Docentes Responsáveis: Prof. Dsc. Ricardo Marroquim & Prof. PhD. Cláudio Esperança {michel.mas, michel.santos.al}@gmail.com December, 2013 December, 2013 December, 2013 December, 2013 December, 2013 December, 2013 December, 2013 December, 2013 December, 2013 December, 2013 December, 2013 December, 2013 December, 2013 December, 2013 December, 2013 December, 2013 December, 2013 Michel Alves dos Santos: Laboratório de Computação Gráfica - LCG Pós-Graduação em Engenharia de Sistemas e Computação - PESC

description

In this presentation, I spoke about the main idea of the library 'MyImageLibrary', displaying the central core of this proposed framework. The library is composed of a core of generic representation of images (RGB or RGBA type), a core of spatial filtering, a core for manipulating borders (used mostly by the spatial filter) and a core of similarity metrics. The cores related to spectral filters and metrics for evaluating the quality of images, still in development, should be added in an upcoming release. The implementation of 'MyImageLibrary' has, in principle, purely didactic intent.

Transcript of Five Minute Speech - Building a Prototype for a Lightweight Image Processing Library in C++

Page 1: Five Minute Speech - Building a Prototype for a Lightweight Image Processing Library in C++

Universidade Federal do Rio de Janeiro - UFRJ - Campus Cidade Universitária - Rio de Janeiro - Ilha do Fundão, CEP: 21941-972 - COPPE/PESC/LCG

Five Minute Speech :: Building a Prototype for a Lightweight Image Processing Library in C++ :: Laboratory Seminars and Meetings :: December, 2013

Five Minute SpeechBuilding a Prototype for a Lightweight Image Processing Library in C++

Michel Alves dos Santos

Pós-Graduação em Engenharia de Sistemas e ComputaçãoUniversidade Federal do Rio de Janeiro - UFRJ - COPPECidade Universitária - Rio de Janeiro - CEP: 21941-972

Docentes Responsáveis: Prof. Dsc. Ricardo Marroquim & Prof. PhD. Cláudio Esperança

{michel.mas, michel.santos.al}@gmail.com

December, 2013December, 2013December, 2013December, 2013December, 2013December, 2013December, 2013December, 2013December, 2013December, 2013December, 2013December, 2013December, 2013December, 2013December, 2013December, 2013December, 2013

Michel Alves dos Santos: Laboratório de Computação Gráfica - LCG Pós-Graduação em Engenharia de Sistemas e Computação - PESC

Page 2: Five Minute Speech - Building a Prototype for a Lightweight Image Processing Library in C++

Universidade Federal do Rio de Janeiro - UFRJ - Campus Cidade Universitária - Rio de Janeiro - Ilha do Fundão, CEP: 21941-972 - COPPE/PESC/LCG

Five Minute Speech :: Building a Prototype for a Lightweight Image Processing Library in C++ :: Laboratory Seminars and Meetings :: December, 2013

Introduction

Figure: Class Diagram of “MyImageLibrary”, displaying the central core of theproposed library. This implementation has, in principle, purely didactic intent.

..::Powered by Dia::....::Powered by Dia::....::Powered by Dia::....::Powered by Dia::....::Powered by Dia::....::Powered by Dia::....::Powered by Dia::....::Powered by Dia::....::Powered by Dia::....::Powered by Dia::....::Powered by Dia::....::Powered by Dia::....::Powered by Dia::....::Powered by Dia::....::Powered by Dia::....::Powered by Dia::....::Powered by Dia::..

Spatial filters, spectral filters, similarity metrics, quality metrics, border handlers, etc...

Michel Alves dos Santos: Laboratório de Computação Gráfica - LCG Pós-Graduação em Engenharia de Sistemas e Computação - PESC

Page 3: Five Minute Speech - Building a Prototype for a Lightweight Image Processing Library in C++

Universidade Federal do Rio de Janeiro - UFRJ - Campus Cidade Universitária - Rio de Janeiro - Ilha do Fundão, CEP: 21941-972 - COPPE/PESC/LCG

Five Minute Speech :: Building a Prototype for a Lightweight Image Processing Library in C++ :: Laboratory Seminars and Meetings :: December, 2013

Structure and Examples

Punctual, Regional and Convolutional Operators.� �1 // P i x e l Operato r2 MySp a t i a l F i l t e r s msf ;3 MyStandardP ixe lOpera to r ∗ my_operator = new MyNegat iveOperator ( ) ;4 MyStandardImage TmpImg = msf . Apply (MyImg , my_operator ) ;� �� �1 // Region Operato r2 uns i gned i n t w = 7 ; /∗∗ window s i z e ∗∗/3 MyStandardRegionOperator ∗ my_operator = new MyVar ianceOperator (w) ;4 MyHandler IndexBorder ∗ h i b = new Zero IndexBorde r ( ) ;5 MyStandardImage TmpImg = msf . Apply (MyImg , my_operator , h i b ) ;� �� �1 // Convo l u t i on Operato r2 uns i gned i n t w = 7 ; /∗∗ window s i z e ∗∗/3 MyStandardConvolut ionMask ∗ my_mask = new MyBinomialMask (w) ;4 MyHandler IndexBorder ∗ h i b = new Re f l e c t e d I n d e xBo r d e r ( ) ;5 MyStandardImage TmpImg = msf . Apply (MyImg , my_mask , h i b ) ;� �

Operators can be constructed just following the protocol implementation of the base classes.

Michel Alves dos Santos: Laboratório de Computação Gráfica - LCG Pós-Graduação em Engenharia de Sistemas e Computação - PESC

Page 4: Five Minute Speech - Building a Prototype for a Lightweight Image Processing Library in C++

Universidade Federal do Rio de Janeiro - UFRJ - Campus Cidade Universitária - Rio de Janeiro - Ilha do Fundão, CEP: 21941-972 - COPPE/PESC/LCG

Five Minute Speech :: Building a Prototype for a Lightweight Image Processing Library in C++ :: Laboratory Seminars and Meetings :: December, 2013

Results

Figure: Filter Examples. From top to bottom and from left to right: original,YUV Luminance, Negative, Binomial Blur, Horizontal Sobel (x-axis), VerticalSobel (y-axis), Magnitude of Sobel, Harris Detector Output Image.

Michel Alves dos Santos: Laboratório de Computação Gráfica - LCG Pós-Graduação em Engenharia de Sistemas e Computação - PESC

Page 5: Five Minute Speech - Building a Prototype for a Lightweight Image Processing Library in C++

Universidade Federal do Rio de Janeiro - UFRJ - Campus Cidade Universitária - Rio de Janeiro - Ilha do Fundão, CEP: 21941-972 - COPPE/PESC/LCG

Five Minute Speech :: Building a Prototype for a Lightweight Image Processing Library in C++ :: Laboratory Seminars and Meetings :: December, 2013

Thanks

Thanks for your attention!Michel Alves dos Santos - [email protected]

Michel Alves dos Santos - (Alves, M.)MSc Candidate at Federal University of Rio de Janeiro.E-mail: [email protected], [email protected]: http://lattes.cnpq.br/7295977425362370Home: http://www.michelalves.comPhone: +55 21 2562 8572 (Institutional Phone Number)

http://www.facebook.com/michel.alves.santos

http://www.linkedin.com/profile/view?id=26542507

Michel Alves dos Santos: Laboratório de Computação Gráfica - LCG Pós-Graduação em Engenharia de Sistemas e Computação - PESC