Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 formats txt, 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:

Module ImgAlgos::ImgVsTimeSplitInFiles

...