Create patches in an image

조회 수: 2 (최근 30일)
Fodio Longman
Fodio Longman 2017년 5월 8일
댓글: Matthew Eicholtz 2017년 5월 8일
Hello, I have an image of size 223x302x3 uint8. I want to divide the image into 20 equal patches and also get the centre pixel of each of these patch. can someone please help me.
many thanks
  댓글 수: 2
Stephen23
Stephen23 2017년 5월 8일
Use blockproc and indexing, or just indexing, depending on whichever you feel most comfortable with.
Matthew Eicholtz
Matthew Eicholtz 2017년 5월 8일
I'm confused by the phrase "20 equal patches"; can you clarify? It is impossible to divide a 223-by-302 image into 20 patches with an equal number of pixels in each patch.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Polygons에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by