Digital images are represented as rectangular arrays of square
Digital images use a left-hand coordinate system, with the origin in
the upper left corner, the x-axis running to the right, and the y-axis
running down. Some learners may prefer to think in terms of counting
down rows for the y-axis and across columns for the x-axis. Thus, we
will make an effort to allow for both approaches in our lesson
Most frequently, digital images use an additive RGB model, with
eight bits for the red, green, and blue channels.
skimage images are stored as multi-dimensional NumPy arrays.
In skimage images, the red channel is specified first, then the
green, then the blue, i.e., RGB.
Lossless compression retains all the details in an image, but lossy
compression results in loss of some of the original image detail.
BMP images are uncompressed, meaning they have high quality but also
that their file sizes are large.
JPEG images use lossy compression, meaning that their file sizes are
smaller, but image quality may suffer.
TIFF images can be uncompressed or compressed with lossy or lossless
Depending on the camera or sensor, various useful pieces of
information may be stored in an image file, in the image metadata.