change src image -> const mat