How to upscale the image and make it higher resolution?
조회 수: 30 (최근 30일)
이전 댓글 표시
I want to make a image to higher resolution in gui?
댓글 수: 0
채택된 답변
David Young
2014년 11월 30일
You can't truly increase the resolution of an image, because in making the sampled digital image information at higher resolution is lost.
You can simulate a higher-resolution image and increase the number of pixels by interpolation. Assuming you have the Image Processing Toolbox, use imresize, with a scale argument greater than 1.
댓글 수: 2
David Young
2014년 11월 30일
I'm not sure where b1 comes from. Should it be a2, the result of the second imread? One possibility is that you've mixed up the variable names and that's why the arrays have different sizes.
Another possibility is that the images stored in a.jpg and a1.jpg have different sizes. In this case, how to fix the problem depends on why they have different sizes - it may be that the correct thing to do is to crop or resize one of the images (see imcrop and imresize) to make them the same size, but the correct approach depends on exactly why they are different sizes.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!