資源簡介
上次上傳版本缺少部分函數,這是更新的完整版,下載了錯誤版本的朋友可以留言郵箱給予補發

代碼片段和文件信息
function?[imglist]=BatchReadImg(rootpathgrayflag)??
if?nargin<2??
???disp(‘Not?enough?parameters!‘);??
???return;??
end??
???
filelist=dir(rootpath);??
[filenumtemp]=size(filelist);??
tempind=0;??
imglist=cell(0);??
for?i=1:filenum??
?????
???if?strcmp(filelist(i).name‘.‘)||?strcmp(filelist(i).name‘..‘)||strcmp(filelist(i).name‘Desktop_1.ini‘)||strcmp(filelist(i).name‘Desktop_2.ini‘)??
?????????
???else??
???????tempind=tempind+1;??
???????imglist{tempind}=imread(strcat(rootpath‘/‘filelist(i).name));??
???end??
end??
if?grayflag==1??
???tempcount=size(imglist);??
???for?j=1:tempcount(2)??
???????imglist{j}=rgb2gray(imglist{j});??
???end??
end??
?
???
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????698??2017-12-04?16:05??dropout\BatchReadImg.m
?????文件????????109??2017-12-11?21:16??dropout\drelu.m
?????文件???????7682??2017-12-20?23:42??dropout\DropNet4.m
?????文件????????572??2017-12-13?12:37??dropout\Dropout.m
?????文件????????226??2017-12-20?15:24??dropout\Dropout2.m
?????文件?????????90??2017-12-11?22:15??dropout\dsigmoid.m
?????文件????????656??2017-12-13?00:50??dropout\ReDropout.m
?????文件?????????59??2017-12-07?17:32??dropout\relu.m
?????文件?????????85??2017-12-08?19:26??dropout\sigmoid.m
?????文件????7840016??1998-01-26?23:07??dropout\t10k-images.idx3-ubyte
?????文件??????10008??1998-01-26?23:07??dropout\t10k-labels.idx1-ubyte
?????文件???47040016??1996-11-18?23:36??dropout\train-images.idx3-ubyte
?????文件??????60008??1996-11-18?23:36??dropout\train-labels.idx1-ubyte
?????目錄??????????0??2018-04-09?19:07??dropout
-----------?---------??----------?-----??----
?????????????54960225????????????????????14
- 上一篇:matlab小波分析工具箱
- 下一篇:數學建模MATLAB程序
評論
共有 條評論