31 std::vector<Pds::Matrix> Block;
32 Block=Pds::Matrix::ImportBmpFile(
"../manual/imagenes/Lenna_test_image.bmp");
34 std::cout<<
"Block.size(): "<<Block.size()<<std::endl;
36 std::vector<Pds::Matrix> CC;
39 Pds::Matrix::ExportBmpFile(CC[0],CC[1],CC[2],
"ColormapRGB_cc.bmp");
41 std::vector<Pds::Matrix> WPI;
44 Pds::Matrix::ExportBmpFile(WPI[0],WPI[1],WPI[2],
"ColormapRGB_wp.bmp");
std::vector< Pds::Matrix > ChromaticityCoordinates(const std::vector< Pds::Matrix > &Block, double factor=1.0)
Retorna un bloque de matrices en coordenadas cromáticas.
std::vector< Pds::Matrix > WhitePatch(const std::vector< Pds::Matrix > &Block)
Retorna un bloque de matrices con WhitePatch.