support all kinds of roi, add cursor to indicate current position