39 std::cout<<
"IMG.size(): "<<IMG.size()<<
"\n";
40 std::cout<<
"IMG[0].Size(): "<<IMG[0].Size()<<
"\n";
41 std::cout<<
"IMG[1].Size(): "<<IMG[1].Size()<<
"\n";
42 std::cout<<
"IMG[2].Size(): "<<IMG[2].Size()<<
"\n";
static std::vector< Pds::Matrix > ImportBmpFile(const std::string &bmpfilename)
Lee matrices de un archivo binario en formato BMP.
static std::vector< Pds::Matrix > RandNSampleBlock(unsigned int N, const Pds::Size &Sz)
Crea un bloque (std::vector<Pds::Matrix>) con matrices no nulas y similares inicializadas con Pds::Ra...
const unsigned char Gray[256][3]
void RGB2HSL(unsigned char r, unsigned char g, unsigned char b, double &h, double &s, double &l)
Transforma de coordenadas RGB a HSL