R image vectorization

R image vectorization