Curvilinear structures extraction in cluttered bioimaging data with discrete optimization methods