Uploaded images are pixelated
    조회 수: 5 (최근 30일)
  
       이전 댓글 표시
    
I am using a GUI created by someone else and it's working great with the sample images I uploaded from their github, which are about 10MB .jpg files that are 3684 x 4912 x 3 in size.  I am trying my own .jpg files which are 178KB and 688 x 917 x 3 in size, and they are all pixelated.  Is there a way to remedy this without code?  Is there a setting somewhere that will improve the image quality?  Or do I need to start with a better quality image to begin with?  These are images that I swiped from the web and a powerpoint file, so I am thinkng I just need better quality images.  
댓글 수: 0
채택된 답변
  Star Strider
      
      
 2023년 4월 19일
        JPEG images have problems because of the discrete cosine transform used to encode them.  See the Wikipedia section on JPEG compression for details.  
댓글 수: 8
  DGM
      
      
 2024년 9월 23일
				If the GUI utilizes uiimage() components for image display, then you will likely see JPG artifacts regardless of the original image format.  Using larger images will simply make them less visually conspicuous, but they'll still be there.
I don't have enough information here to be certain, but that's a quite plausible explanation.
추가 답변 (0개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




