Home
|
Develop
|
Download
|
Contact
src
headers
Pds
RaColor.hpp
1
/*
2
* RaColor.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
30
#ifndef __PDS_RACOLOR_HPP__
31
#define __PDS_RACOLOR_HPP__
32
33
#include <Pds/Matrix>
34
44
namespace
Pds
{
49
namespace
Ra{
50
51
52
103
void
RGB2HSL
(
unsigned
char
r,
unsigned
char
g,
unsigned
char
b,
104
double
&h,
double
&s,
double
&l);
105
151
bool
RGB2HSL
(
const
Pds::Matrix
&R,
const
Pds::Matrix
&G,
const
Pds::Matrix
&B,
152
Pds::Matrix
&H,
Pds::Matrix
&S,
Pds::Matrix
&L);
153
159
}
// namespace Ra
160
}
// namespace Pds
161
162
167
#endif
/* __PDS_RABMP_HPP__ */
Pds::Matrix
La clase tipo Pds::Matrix . Esta clase genera una matriz de Nlin lineas y Ncol columnas....
Definition:
Matrix.hpp:96
Pds::Ra::RGB2HSL
void RGB2HSL(unsigned char r, unsigned char g, unsigned char b, double &h, double &s, double &l)
Transforma de coordenadas RGB a HSL
Pds
Nombre de espacio para Pds (Procesamiento Digital de Senales)
Definition:
AbstractRV.hpp:42
Enlaces de interés
Manual de referencia generado el Martes, 10 de Octubre de 2023 18:23:40 para la biblioteca
libpdsramm
usando Generado el Martes, 10 de Octubre de 2023 18:23:40 para libpdsramm por
1.9.4