Versions Compared

Key

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

...

  • ImgIntForBins uses the source and key_in parameters to get the input image (as ndarray<T,2> object), where T stands for uint16_t, int, float, uint8_t, or double,
  • gets the pixel-bin indexes from files fname_map_bins, which has a size of image,
  • calculates average per pixel intensity for each of number_of_bins bin (from 0 to number_of_bins-1),
  • saves the 2-D array of \<I\><I>(event, bin) in file fname_int_bins.

...