A simple script that illustrates an array of random pixels, along with their intentisy values.
Example plots are given both for rgb and grayscale images.
To execute, run python pypixelsmaps.py
.
To change file filetype of the visualisation output (e.g to png) change the filenames in the following lines.
render_pixel_map(gray, number_of_lines_to_draw =5, filename_to_save = 'pixelmap_gray.pdf')
render_pixel_map(rgb ,number_of_lines_to_draw =5, filename_to_save = 'pixelmap_rgb.pdf')