I have divide an image into left half and right half.i want to combine this left half and right half into a single original image. Please help me to write the code

I have divide an image into left half and right half.i want to combine this left half and right half into a single original image. Please help me to write the code.

 Réponse acceptée

fullImage = [leftHalf, rightHalf];

3 commentaires

Thank you image analyst.but I failed to get the original image. I got a blank one. No image. Please help me to fix it
It should work. Try this
maxValue = max(leftHalf(:))
maxValue = max(rightHalf(:))
imshow(leftHalf);
uiwait(msgbox('This is the left half'));
imshow(rightHalf);
uiwait(msgbox('This is the right half'));
What do you see in the command window and your axes?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Images dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by