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

<

p>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 (uint8). This is quite annoying if you are working with floating point images. PIL supports floating point interpolation, but only for one [...]

5 May 2018

Make Jupyter Notebooks easy to blog in WordPress

2021-03-24T20:48: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 notebook

Nothing that you don’t know here. If you embed pictures in the notebook though, it would [...]

Go to Top