January 2018
Beginner to intermediate
548 pages
12h 11m
English
The exposure of an image tells us whether the image is too dark, too light, or balanced. It can be measured with a histogram of the intensity values of all pixels. Improving the exposure of an image is a basic image-editing operation. As we will see in this recipe, it can be done easily with scikit-image.
The scikit-image command should be included by default in Anaconda. Otherwise, you can always install it manually with conda install scikit-image.
>>> import numpy as np
import matplotlib.pyplot as plt
import skimage.exposure as skie
%matplotlib inlineRead now
Unlock full access