34 Pds::Matrix::ExportBmpFile(Z.Scale(0,255),Z.Scale(0,255),Z.Scale(0,255),
"ColormapRGB.bmp");
36 std::vector<Pds::Matrix> Block;
37 Block=Pds::Matrix::ImportBmpFile(
"IMG-20200503-WA0011.bmp");
40 std::vector<Pds::Matrix> CC;
43 Pds::Matrix::ExportBmpFile(CC[0],CC[1],CC[2],
"ColormapRGB_cc.bmp");
45 std::vector<Pds::Matrix> WPI;
48 Pds::Matrix::ExportBmpFile(WPI[0],WPI[1],WPI[2],
"ColormapRGB_wp.bmp");
52 Block[0].Scale(0,255).ExportBmpFile(Pds::Colormap::Jet,
"ColormapRGB_new.bmp");
55 Pds::Matrix::ExportBmpFile(Block[0],Block[1],Block[2],
"ColormapRGB_new.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.