Colorized movies with neural network

I colorized some black and white movies using the trained neural network model from Zhang et al.

The movies were converted to single frames via ffmpeg, colorized and then put together. As you will see this creates a lot of changes from frame to frame and could be improved by some persistence parameters for scenes. The scripting was done in python using the example from The neural network is implemented in caffe.

Line width detection in Matlab

We wanted a simple line width estimation for a recent project. It was meant to analyze the width of actin bundles. After some searching for an existing solution to the problem I only found this paper. Usually I try to use existing programs in Matlab. It is very common for physicists to reinvent the wheel.

I prepared a few images to show how the Matlab script works. I used two different line sizes for a gaussian type brush and 4 different widths for the hard edge pen tool. It should be fairly customizable to diffent approaches.

Different strokes

Differently oriented lines with brush size 20

Read more…

Adobe password leak analyzed with pandas and Python

I recently found out that one of my throwaway email-accounts was in the Adobe password leak. I wanted to see what was out there and downloaded the leaked data. It looks like this:

<some ID>-|-<username, mostly missing>-|-<email>-|-<password hash>-|-<password hint>|--

Here's the relevant xkcd

xkcd encryptic

Read more…