Update colorSegment.cpp