get vector using image