Getting part of an image with MATLAB -
i'm doing final project in matlab on "license plate correlation". user selects plate roi function, afterwards want plate. how can this?
after using roi function, use getposition on handle. gives vector [x_min y_min width height]. can use sub image.
imshow(i,[]) h = imrect; cord = getposition(h); sub_i = i(cord(2):cord(2)+cord(4),cord(1):cord(1)+cord(3));
Comments
Post a Comment