EZvImagesOnly.m 752 B

123456789101112131415161718192021222324252627282930
  1. % EZvImagesOnly
  2. asd=12
  3. dirLst=dir(ExpPath)
  4. for i=1:size(dirLst,1)
  5. if ~isempty(str2num(dirLst(i).name)) || ~isempty(strfind(dirLst(i).name,'Scan')) % && jpgOut==1
  6. scLst=fullfile(ExpPath,dirLst(i).name);
  7. for n=1:size(filelst,1)
  8. try
  9. if ~isempty(strfind(filelst(n).name,'bmp'))||~isempty(strfind(filelst(n).name,'tif'))
  10. tptImLst(n)=filelst(n).name;
  11. end
  12. catch
  13. end
  14. end
  15. tptLength=length(tptImLst);
  16. end
  17. scLength=length(scLst);
  18. end
  19. I=imread(ExpOutImFile);
  20. expAxes=handles.Iaxes1;
  21. imshow(I)
  22. set(expAxes,'xtick',[],'ytick',[])
  23. expAxes=handles.Iaxes2;
  24. imshow(I)
  25. set(expAxes,'xtick',[],'ytick',[])
  26. expAxes=handles.Iaxes3;
  27. imshow(I)
  28. set(expAxes,'xtick',[],'ytick',[])