how to read 100 images at a time ? what will appear on the output? how to analyzed the output?

6 Kommentare

Jan
Jan am 14 Sep. 2011
Please post any details. It is not clear what "appear on the output" could mean. And there are thounds of methods to "analyse" a set of pictures.
ganesh s
ganesh s am 15 Sep. 2011
how to analysed the data base containing 100 images or how to compare the 100 images which has to be read through single program on the basis of standard deviation & mean ?????
Jan
Jan am 15 Sep. 2011
@Ganesh: Please post the necessary details. Did you install Matlab already, do you have the Signal-Processing-Toolbox, are you able to read each single file, if so, how and in which format are they written to memory? Do they have the same dimensions? What does "analyse base on mean and std" mean exactly? The mean over the pictures, or the std over the mean of each image?
This forum is very efficient for finding answers, but we cannot guess, what the question is.
ganesh s
ganesh s am 15 Sep. 2011
@ jan simon :sir i have installed matlab already.with signal processing tool box in it & i know how to read & show the single image at a time (using imread & imshow function ). all the images in the data base are of same size(dimension) and of .jpg format
i am first converting the color image in to gray (using rgb2gary ) then finding it's FFT & then i need to take the first & second movements of the output image obtain from the FFT ( ie mean & std to extract the feature of the image )
i know how to find it for the single image . but i don't know how to find it for data base of the image which contain 100 images using single program .i know using for loop we can do this but i don't know how to analyzed the output base on the coefficient of the images(obtain in the matlab array editor ) & what will be expected output
Jan
Jan am 15 Sep. 2011
@Ganesh: Thanks, now the question is much easier to understand.
ganesh s
ganesh s am 16 Sep. 2011
@ jan simon : thanks sir for guiding me

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Sean
Sean am 15 Sep. 2011

0 Stimmen

Ganesh,
If you are trying to observe the change in each parameter over time (i.e. from image 1 to image 100), just use a for loop around the load/calculate/release for each image and dump the desired parameters into an output array. for example:
for imagecount=1:100
(code:load/calculate/release image)
output(:,i)=[mean stdev];
end
You can then plot or otherwise analyze the trends in mean/stdev.
If you want to get the mean/stdev of the whole datacube, then use a for loop the genereate the entire cube.
for imagecount=1:100
(code: load image & convert to grey)
datacube(:,:,imagecount)=<imagematrix>
end
mu=mean(datacube(:))
sigma=std(datacube(:))

1 Kommentar

ganesh s
ganesh s am 16 Sep. 2011
thanks sir it will solve my problem.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Walter Roberson
Walter Roberson am 15 Sep. 2011

0 Stimmen

1 Kommentar

ganesh s
ganesh s am 16 Sep. 2011
@ walter Roberson : thanks sir for providing me this link it will very helpful to me

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Manage Products finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 14 Sep. 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by