The result is worth it, though. Black is real black, and since it produces vector graphics the edges are not pixelated, even if you zoom in.
|Original scan, grey and pixelated.|
|After the vectorizing, black and white, and no visible pixelation (you may distinguish pixels here, since I converted the image from pdf to png).|
Here comes a way to do it in one command from a terminal.