Reply by cole...@gmail.com May 20, 20092009-05-20
What if the my images numbering is this format DSC_001, DSC_002,......DSC_500? how do I write alter the code to suit this?
skeleton of the code shud b something like this

for i = 1 : 500

fname = [pic num2str(i)];
image = imread(fname,'bmp');

% do contrast enhancement%

imwrite(image,fname,'bmp');

end
>
> Hi,
>
>I have a specific problem in Image Processing. I have an image in BMP
>format and I perform contrast enhancement on this image and write it
>in jpeg format. But, the problem is I have to perform this operation
>on 500 images. Can I write a matlab script file to perform batch
>processing??
>If yes, can anyone please instruct me on how to accomplish that task.
>(I am a novice in matlab, but I am good at C/C++ though).
>
>Thanks a bunch for your help.
>
>Deepak.
>
>
>
>
>
>
>
>
>
>
>
>
>