apply_voltage_pattern_to_image

apply_voltage_pattern_to_image(im: Image, vp: Image, inverse=False, min_det=0.1, **kwargs) Image[source]

Apply a voltage pattern to an image

For each pixel, the application is as follows:

I_{corrected}(l,m) = vp(l,m) I(l,m) jones(j,m).H

Parameters:
  • im – Image to have jones applied

  • vp – Jones image to be applied

  • inverse – Apply the inverse (default=False)

  • min_det – Minimum determinant to correct

Returns:

new Image with Jones applied