Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

plz tell me how to divide an image into irregular blocks having different size instead of blocks having same size. please give me code in matlab.

1 visualización (últimos 30 días)
plz tell me how to divide an image into irregular blocks having different size instead of blocks having same size. please give me code in matlab.
  1 comentario
Geoff Hayes
Geoff Hayes el 11 de En. de 2015
Shamili - please provide some context to your question. Why do you want the blocks to be irregularly sized? How do you choose the sizes? Perhaps include the algorithm that you would like to see implemented and discuss what problems you are experiencing in trying to code it up.

Respuestas (1)

Image Analyst
Image Analyst el 11 de En. de 2015
To extract a block, do this:
subImage = grayImage(row1:row2, column1:column2);
You can change the values of row1, row2, column1, and column2 whenever you want to make the blocks "irregularly" sized.

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by