add opencv mat interface