I want to insert rectangle shape to the real time image
    10 ビュー (過去 30 日間)
  
       古いコメントを表示
    

MATLAB Function3:
function fakeImg = fcn(RealImg)
I = RealImg;
fakeImg = insertShape(I,"line",[10 10 40 40],Color="black",Opacity=1);
0 件のコメント
回答 (2 件)
  Image Analyst
      
      
 2023 年 8 月 2 日
        You might find using rectangle to draw into the overlay is faster than using insertShape to burn the rectangle into an RGB image.
0 件のコメント
  Birju Patel
    
 2023 年 8 月 10 日
        You can also use the Draw Shapes block in Simulink:
https://www.mathworks.com/help/vision/ref/drawshapes.html
0 件のコメント
参考
カテゴリ
				Help Center および File Exchange で Feature Detection and Extraction についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


