Segment feature computation