Create patches in an image

3 visualizaciones (últimos 30 días)
Fodio Longman
Fodio Longman el 8 de Mayo de 2017
Comentada: Matthew Eicholtz el 8 de Mayo de 2017
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 comentarios
Stephen23
Stephen23 el 8 de Mayo de 2017
Use blockproc and indexing, or just indexing, depending on whichever you feel most comfortable with.
Matthew Eicholtz
Matthew Eicholtz el 8 de Mayo de 2017
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.

Iniciar sesión para comentar.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by