Parameterize Image Name In Function
Ältere Kommentare anzeigen
Hello Colleagues, I have Function with parameter image name, inside the function i want to write image after some of editing, but i want to take part from image name and add another part as imwrite image name for example
function editing (ImageName)
w=imread(ImageName);
w=double(w);
w=w+0.02;
w=uint8(w);
imwrite(w,'w_ImageName.jpg','jpg');
end
I want the new image name to be w letter with image name.
Akzeptierte Antwort
Weitere Antworten (1)
muath shaikh
am 18 Dez. 2014
Kategorien
Mehr zu Images finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!