Home | Develop | Download | Contact
FuncMatrixLoadImage.hpp
1 /*
2  * FuncMatrixLoadImage.hpp
3  *
4  * Copyright 2018 Fernando Pujaico Rivera <fernando.pujaico.rivera@gmail.com>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19  * MA 02110-1301, USA.
20  *
21  */
22 
34 #ifndef __PDS_MATRIXLOADIMAGE_HPP__
35 #define __PDS_MATRIXLOADIMAGE_HPP__
36 
37 
64 #include <Pds/Matrix>
65 
66 
67 namespace Pds{
68 
69 namespace Image{
70 
86  Pds::Matrix BmpToGrayMatrix(const std::string &filepath);
87 
88 
102  std::vector<Pds::Matrix> BmpDataBlock(const std::string &dirpath,const std::string &pattern);
103 
119  std::vector<Pds::Matrix> BmpDataBlock( const std::string &dirpath,
120  const std::string &pattern,
121  std::vector<std::string> &filename);
122 
135  std::vector<Pds::Matrix> BmpDataBlock(const std::vector<std::string> &filename);
136 
141 } //Image
142 
143 } //Pds
148 #endif
149 
Pds::Matrix BmpToGrayMatrix(const std::string &filepath)
Retorna una matriz en escala de grises, de 0 a 255.
std::vector< Pds::Matrix > BmpDataBlock(const std::string &dirpath, const std::string &pattern)
Retorna un bloque de matrices con los datos de las imagenes BMP. Si la imagen tiene color,...
Nombre de espacion para PDS (Procesamiento Digital de Senales)

Enlaces de interés

HomePage Bazaar Download Bug report Ayuda Developer Feed