Learning image processing by writing ImageJ plugins in Scala.