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!


