Create marker_based_segment.cpp