Blog MLab
09
FEB
2017

A stackable manifold for micro-valves

There can be numerous good reasons to use a computer-controlled microvalve: with low dead volumes and fast switching times they can be used for millifluidics, microfluidics or automation. Two common pitfalls are the driving electronics and the mechanical connection of the valve with the circuit. In this post I detail how to build a stackable manifold with Luer connectors for microvalves driven by a digital signal. Download all conception files for easy replication!

18
DEC
2016

Matlab syntax tricks

A big asset of the Matlab language is that the syntax is simple to learn. But besides a seamingly poor set of syntax rules, there are several tricks that most people ignore. This post gathers a few not-totally-mainstream syntax tricks, which may reveal useful to anyone willing to improve his/her coding style and efficiency.

02
JUL
2016

A basic Arduino serial server

When using an arduino as an acquisition and control board for a computer, the very first thing to do is to establish a communication between the Arduino (the server) and the computer (the client). Serial communication via USB is the simplest choice, and in this post we will see how to transform an Arduino into a basic serial server with just a simple - yet powerful - sketch.

11
FEB
2016

Tracking object orientation with image moments

Object tracking is often reduced to recording the trajectory of the center of mass, and there is a simple reason for this: one only needs to compute the mean values of the horizontal and vertical indexes of the pixels, which is easy and fast. But what if one wants to track the object's orientation ? To do this, my favorite method is a simple and elegant approach involving image moments.

08
APR
2011

Fast clusterization of adjacency matrices

In this post I review three different methods to extract clusters from an adjacency matrix. A simple benchmark compares their performance and show that the reverse Cuthill-McKee algorithm improves execution time by a factor 30 as compared to brute force.