How to create a white rotated box inside a black box
    조회 수: 3 (최근 30일)
  
       이전 댓글 표시
    
How to  create a white rotated box inside a black box as shown in image
댓글 수: 0
채택된 답변
  Image Analyst
      
      
 2019년 4월 29일
        Define the x,y coordinates of the corners, then use poly2mask().
binaryImage = poly2mask(x, y, rows, columns);
It's literally one line of code if you already have the coordinates and size of the entire image.
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

