Extracting random patches from a image
조회 수: 3 (최근 30일)
이전 댓글 표시
I have to extract 30 random patches of size 32*32 from an image and then storing all that patches in a single matrix.
please help!
댓글 수: 3
Rik
2019년 6월 7일
You could use the randi function to generate random centerpoints and expand those to full patches.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Polygons에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!