clear marker rect
Note: the mat::at is not what I think. it seems starts from right in term of x