uigetfile - limit of files which can be loaded
No License
This script I use to improve the contrast of images by using imadjust command. The only problem is limited number of files (about 40 - 50) which can be processed at once.
The code is:
function autocontrast
warning off
clc;
clear all;
%--------------------------------------------------------------------------
[FileName,PathName] = uigetfile('*.tiff','Select any image', 'MultiSelect', 'on');
if PathName~=0;
n= length (FileName)
for a=1 : 1: n
input_image=imread([PathName,FileName{a}]);
I_imadjust = imadjust(input_image);
%figure, imshow(input_image_imadjust);
%----------------------------------------------------------------------
mkdir(PathName,'imadjust')
FN1= fullfile(PathName,'imadjust',FileName{a});
imwrite(I_imadjust,FN1);
end
end
Cite As
Mateusz Matysiak (2025). uigetfile - limit of files which can be loaded (https://in.mathworks.com/matlabcentral/fileexchange/23534-uigetfile-limit-of-files-which-can-be-loaded), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Test and Measurement > Image Acquisition Toolbox > Image Data Acquisition >
- Image Processing and Computer Vision > Image Acquisition Toolbox > Image Data Acquisition >
Tags
Acknowledgements
Inspired: simpleFileSelect(Filtr,Titl)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
