Insertshape function produces odd results for very large images?

조회 수: 1 (최근 30일)
Nick
Nick 2018년 11월 7일
댓글: Guillaume 2018년 11월 7일
So I have been using the Insertshape function for several images of roughly 5000x5000x3 size and inserting >100 polygon shapes with no issue.
However when I attempted the same thing with a rather large trucolor images (30k x 30k x 3), it seemed to introduce various bugs. 1. All the shapes inserted properly but Half of the original image was deleted. So there was just polygons on a black canvas for half the image. 2. The color data also seemed to be delete, switching from RBG to just red.
Matlab did not produce an error in the code when I ran it so its not really clear whats happening. I was just wondering if this is a common issue with insertshape for very large images. (The image takes up a few gigabytes of memory).
  댓글 수: 1
Guillaume
Guillaume 2018년 11월 7일
It would be useful if you could provide some code and a sample image that reproduces the issue.

댓글을 달려면 로그인하십시오.

답변 (0개)

태그

제품


릴리스

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by