Image processing
Uses
-
-
The images treated in this workflow are gray-scale images represented as two-dimensional arrays of integers. They have sort numpy
arrays. On disk, they are stored as FITS files containing a single image.
Visualization
Images are visualized for inspection via the matplotlib
library, adding a numerical gray-scale to the image for inspection of the intensity values. The output is stored in a file in PNG format, described by sort
and implemented in the following Python code:
image, filename = inputs import matplotlib.pyplot as plt plt.clf() plt.imshow(image, cmap='gray', origin='lower') plt.colorbar() plt.savefig(filename)