I = imread('coins.png');
figure, imshow(I);
position = [96 146 31;236 173 26];
label = [5 10];
RGB = insertObjectAnnotation(I, 'circle', position, label,'Color', {'cyan', 'yellow'}, 'TextColor', 'black');
figure, imshow(RGB), title('Annotated coins');
figure, imshow(I);
position = [96 146 31;236 173 26];
label = [5 10];
RGB = insertObjectAnnotation(I, 'circle', position, label,'Color', {'cyan', 'yellow'}, 'TextColor', 'black');
figure, imshow(RGB), title('Annotated coins');
No comments:
Post a Comment