123456789101112131415161718192021 |
- function imshow255(newfig,imgSz,Xset)
- % imshow255 shows a 8-bit quantized picture
- % contained in the vector Xset, by splitting
- % it into squared pictures of size imgSz
- nPics=size(Xset,1);
- if(nPics>20)
- nPics=20;
- end
- for kk=1:nPics
- if(newfig)
- figure()
- else
- subplot(2,ceil(nPics/2),kk)
- end
- imshow(255-Vector2PictureMatrix(imgSz,1,Xset(kk,:)),[0 255])
- end
- end
|