Home | Develop | Download | Contact
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
44namespace Pds{
49namespace 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,
153
159} // namespace Ra
160} // namespace Pds
161
162
167#endif /* __PDS_RABMP_HPP__ */
La clase tipo Pds::Matrix . Esta clase genera una matriz de Nlin lineas y Ncol columnas....
Definition: Matrix.hpp:96
void RGB2HSL(unsigned char r, unsigned char g, unsigned char b, double &h, double &s, double &l)
Transforma de coordenadas RGB a HSL
Nombre de espacio para Pds (Procesamiento Digital de Senales)
Definition: AbstractRV.hpp:42

Enlaces de interés

HomePage Bazaar Download Bug report Ayuda Developer Feed