Class BeamUniformityCorrector

Class Documentation

class BeamUniformityCorrector

Corrects beam uniformity by minimizing median difference between rows, thereby correcting subtle horizontal line artifacts in images, especially the ambient image.

Public Functions

void update(Eigen::Ref<img_t<float>> image, bool update_state = true)

Applies dark count correction to an image, modifying it in-place to have reduced horizontal line artifacts.

Parameters:
  • image[in] – Reference to the image, modified in-place.

  • update_state[in] – Update dark counts if true.

void update(Eigen::Ref<img_t<double>> image, bool update_state = true)

Applies dark count correction to an image, modifying it in-place to have reduced horizontal line artifacts.

Parameters:
  • image[in] – Reference to the image, modified in-place.

  • update_state[in] – Update dark counts if true.