How to get average image on multiple frames in folder
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
devabhaktuni phaneendrababu
el 1 de Oct. de 2013
Comentada: devabhaktuni phaneendrababu
el 3 de Oct. de 2013
Each image is 256 by 256 pixel size.The file I got from the experiments is a .dcm(dicom) int 16 data.the file contains 1000 frames .
0 comentarios
Respuesta aceptada
Image Analyst
el 2 de Oct. de 2013
Read in each frame, cast it to double, and accumulate, then divide to get the average.
for k = 1 : numberOfFrames
% read in frame with domcomread()
if k == 1
sumFrame = double(thisFrame);
else
sumFrame = sumFrame + double(thisFrame);
end
end
averageFrame = sumFrame / numberOfFrames;
1 comentario
devabhaktuni phaneendrababu
el 3 de Oct. de 2013
Editada: devabhaktuni phaneendrababu
el 3 de Oct. de 2013
Más respuestas (0)
Ver también
Categorías
Más información sobre Convert Image Type en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!