Python

16 March 2020

Bilinear interpolation on images stored as Python Numpy ndarray

2020-04-01T11:10:54-04:0016 March 2020|Categories: Image processing|Tags: , |0 Comments

If you are working in image processing and using Python as a prototyping script language to test algorithms, you might have noticed that all the libs providing fast image interpolation methods (to either sub-sample or over-sample) work in 8 bits unsigned integers ([crayon-5eab0536d56fb178664098-i/]). This is quite annoying if you are working with floating point images. [...]

5 May 2018

Make Jupyter Notebooks easy to blog in WordPress

2020-04-06T12:42:50-04:005 May 2018|Categories: Calculation|Tags: , , , , |5 Comments

I have struggled with most solutions to convert and embed Jupyter notebooks into WordPress blog posts since I use Plotly as a graphic lib, as well as many LaTeX equations and images. Finally, I had to code my way through. Here is what I did :1. Write the jupyter notebookNothing that you don't know here. [...]