InsertShape crossed lines produce a non-color value, how to fix?
조회 수: 1 (최근 30일)
이전 댓글 표시
Whey is there a white value where the two lines cross in this example, and how can I keep it the color specified in InsertShape?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1262935/image.jpeg)
clear all
pzzz = 255 - uint8(zeros(200,200,3)); % DOUBLE TO UINT8
pzzz = insertShape(pzzz,'Polygon', [1 100 200 1, 10 10 150 150],...
Color=[0 0 0], LineWidth=5, Opacity=1);
imagesc(pzzz)
댓글 수: 0
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!