Where can I download all colortype images (binary, indexed, graycode, RGB) ?

2 ビュー (過去 30 日間)
Sanjay Paul
Sanjay Paul 2015 年 4 月 9 日
回答済み: Thomas Koelen 2015 年 4 月 9 日
Kindly provide the link where can I download those images.

回答 (1 件)

Thomas Koelen
Thomas Koelen 2015 年 4 月 9 日
I'm not sure if this is what you mean, but all the matlab example images are in this folder:
C:\Program Files\MATLAB\R2013b\toolbox\images\imdemos
You could also use this code to find the directory:
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
this will list all the demo images. Written my Matt J^

カテゴリ

Help Center および File ExchangeDownloads についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by