How have Image file form Surf or Surface function?
조회 수: 2 (최근 30일)
이전 댓글 표시
I want to have Image file though ;h = surface(u,v,zeros(h,w),I);
h =
Surface with properties:
EdgeColor: 'none'
LineStyle: '-'
FaceColor: 'interp'
FaceLighting: 'flat'
FaceAlpha: 1
XData: [800×1067 double]
YData: [800×1067 double]
ZData: [800×1067 double]
CData: [800×1067×3 uint8]
I used saveas(gif,’test.png’); but it dropped the quality of the image ( as I want to use it for text extraction), it is not acceptable. imshow, also has same problem. Thus, I use the surface. It makes good quality. But I cannot have image file. Is there any solution, for instance, use the h (output of surface) to make a image file.
댓글 수: 4
KSSV
2018년 5월 31일
Have a look on this file exchange: https://in.mathworks.com/matlabcentral/fileexchange/23629-export-fig
채택된 답변
KSSV
2018년 6월 3일
Have a look on this file exchange: https://in.mathworks.com/matlabcentral/fileexchange/23629-export-fig
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!