xmcd_projection.image¶
- xmcd_projection.image.get_blurred_image(img, sigma=4)¶
Applies the gaussian blur to the given image.
- Parameters
img ((n,m,4), (n,m,3) array) – Colour image.
sigma (int, optional) – Gaussian sigma. Defaults to 4.
- Returns
Blurred image
- Return type
(n,m) array
- xmcd_projection.image.img2uint(img)¶
Tranforms the image from float to uint8 type.
- Parameters
img (array) – Image
- Returns
Uint8 image
- Return type
array