combining of pixels in matlab

i have split an 256*256 image into 4*4 pixels. Now i want to combine all the 4*4 pixels to form a 256*256 image. I have 16 blocks of 4*4 pixel values. Can anyone please tell me how to do it?? Thanks in advance...

답변 (1개)

Image Analyst
Image Analyst 2013년 4월 8일

0 개 추천

Stitch them together
stitchHorizontally = [image1, image2];
stitchVertically = [image1; image2];
Put in a loop to stitch them all together.

댓글 수: 2

devaki anjan
devaki anjan 2013년 4월 9일
i have kept all the pixel values in the same variable and it is inside a loop only already.
Image Analyst
Image Analyst 2013년 4월 9일
If they're all already in the same variable then there's nothing to do, right? Unless that variable is a cell array or something.

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

카테고리

도움말 센터File Exchange에서 Images에 대해 자세히 알아보기

질문:

2013년 4월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by