Page History
...
Module ImgSaveInFile receives from the event the image object using source
and key
parameters and saves it in the ftype
format with prefix file name fname
for event(s) specified by the parameters eventSave
or saveAll
. Currently implemented file formats: txt
, bin
, png
tiff
, and tiff
png
.
ImgSaveInFile works after the CSPadImageProducer, CSPadInterpolImageProducer, CameraImageProducer, PnccdImageProducer, etc., which produce image object in formats CSPadPixCoords::Image2D<T>
or ndarray<T,2>
, where the T
stands for one of the data types, double, float, int, uint8_t, or uint16_t.
...
source
(default: "CxiDs1.0:Cspad.0") – source of data,key
(default: "Image2D") – input image key,eventSave
(default: 0) – event number to save the CSPad image file,saveAll
(default: false) – save or not all selected events,ftype
(default: "txt") – output file format; currently implemented formatstxt
,bin
,png
,tiff
fname
(default: "img") – prefix of the output file name. Entire file name
is formed as<cspad_image_ev><timestamp>.<ftype>
.print_bits
(default: 0) – verbosity:- =0 - print nothing,
- +1 - input pars,
- +2 - info about saved files.
See also Example for Module ImgAlgos::ImgSaveInFile.Note Saving in PNG currently works for uint8_t and uint16_t formats only...
Module ImgAlgos::ImgVsTimeSplitInFiles
...
Overview
Content Tools