download test images for MATLAB

조회 수: 61 (최근 30일)
tina jain
tina jain 2015년 4월 28일
댓글: Minakshi Atre 2022년 2월 4일
can any one tell me about website for download test images from it ?

답변 (1개)

Thomas Koelen
Thomas Koelen 2015년 5월 6일
The test images are locates int his folder:
C:\Program Files\MATLAB\R2013b\toolbox\images\imdemos
(if you used to default installation directory)
otherwise you can find the directory here:
function varargout=demoimgs
pth = fileparts(which('cameraman.tif'));
D = dir(pth);
C = {'.tif';'.jp';'.png';'.bmp'};
idx = false(size(D));
for ii = 1:length(C)
idx = idx | (arrayfun(@(x) any(strfind(x.name,C{ii})),D));
end
D = D(idx);
for ii = 1:numel(D)
fprintf('%s\n',D(ii).name)
end
if nargout, varargout{1}=pth; end
  댓글 수: 1
Minakshi Atre
Minakshi Atre 2022년 2월 4일
Thank you so much!
This is so perfect!

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

카테고리

Help CenterFile Exchange에서 Read, Write, and Modify Image에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by