image processing
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
how to read 100 images at a time ? what will appear on the output? how to analyzed the output?
6 Kommentare
Akzeptierte Antwort
Sean
am 15 Sep. 2011
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(:))
Weitere Antworten (1)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!