DIODA: Delineation and feature extraction of microscopical objects