recombination of a image

2 visualizzazioni (ultimi 30 giorni)
Jitesh Bhanushali
Jitesh Bhanushali il 25 Mar 2014
Risposto: Image Analyst il 25 Mar 2014
sir I divided image into 8*8 blocks using the code attached(block.m). how can i recombine all the blocks and get back the image
  2 Commenti
Walter Roberson
Walter Roberson il 25 Mar 2014
You did not attach the code.
Jitesh Bhanushali
Jitesh Bhanushali il 25 Mar 2014
sir i have attached file..please check

Accedi per commentare.

Risposte (1)

Image Analyst
Image Analyst il 25 Mar 2014
First off we need to fix your bad code that created the problem in the first place. Read this: http://matlab.wikia.com/wiki/FAQ#How_can_I_create_variables_A1.2C_A2.2C....2CA10_in_a_loop.3F to learn why you should not do that. Then read the FAQ to learn how it should be done (two different ways are shown). After that, after you post your fixed code, then we can get to how to reconstruct the array, but basically you stitch them together like [block1,block2] or [block1;block2]

Community Treasure Hunt

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

Start Hunting!

Translated by