magistraleinformaticanetworking:spm:cimglib1718
Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
magistraleinformaticanetworking:spm:cimglib1718 [16/01/2018 alle 09:43 (7 anni fa)] – creata Marco Danelutto | magistraleinformaticanetworking:spm:cimglib1718 [16/01/2018 alle 09:46 (7 anni fa)] (versione attuale) – Marco Danelutto | ||
---|---|---|---|
Linea 1: | Linea 1: | ||
===== Read and write images from files ===== | ===== Read and write images from files ===== | ||
- | To run the Histogram project, students may consider to use the [[http:// | + | To run the Histogram project, students may consider to use the [[http:// |
< | < | ||
+ | The library has been tested working on the ninja.itc.unipi.it PHI KNL machine, and a copy of the header file may be found on the machine under / | ||
+ | |||
+ | < | ||
+ | |||
In order to read images from disk and to save images to dist, the < | In order to read images from disk and to save images to dist, the < | ||
Pixels are accessed through 3 dim coordinates (x, y, color channel). The following code reads a JPEG image from disk, changes some pixels and writes it back with a different name: | Pixels are accessed through 3 dim coordinates (x, y, color channel). The following code reads a JPEG image from disk, changes some pixels and writes it back with a different name: |
magistraleinformaticanetworking/spm/cimglib1718.1516095835.txt.gz · Ultima modifica: 16/01/2018 alle 09:43 (7 anni fa) da Marco Danelutto