April 2020
Intermediate to advanced
438 pages
12h 2m
English
If you execute the preceding code and plot the images, you will get a screenshot like the following one:

The im[::2,::2] code selects every other pixel from the im image and copy() function from NumPy creates a clone of ndarray. The wavelet_center() and wavelet_decenter() functions from mahotas create a centered version of the image and undo the effect of the wavelet_center() function if applied on the transformed image, respectively. These functions correctly handle borders and removed artifacts at the border of the image that are created otherwise. The mahotas.daubechies() and mahotas.idaubechies() functions perform Daubechies ...
Read now
Unlock full access