Add lines to image
11 ビュー (過去 30 日間)
古いコメントを表示
I have an image and i want to add lines with specified length to this image,
how can i add five/ seven / multipllinse to an image ?
0 件のコメント
回答 (1 件)
Ameer Hamza
2020 年 4 月 28 日
編集済み: Ameer Hamza
2020 年 4 月 28 日
See insertShape(): https://www.mathworks.com/help/releases/R2020a/vision/ref/insertshape.html from computer vision toolbox. You can use a for loop to add several lines over an image. Example:
img = insertshape(img, 'Line', [x_start y_start x_end y_end]);
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!