Combining 5 images from a camera and add them together to yield one image.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Jason
el 27 de Oct. de 2020
Respondida: Srivardhan Gadila
el 30 de Oct. de 2020
Hello I am using the image aquistion toolbox to obtain images froma a camera.
I am set up the capture 5 frames, and I obtain them by
frame=getdata(vid,5); %Just get n frames #
size(frame)
class(frame)
Here are the outputs of size(frame) and class are:
ans =
1824 2736 1 5
ans =
'uint16'
The size returns height, width, colourbands, frames
whats the best way to create a composite image where all the images are just added together
I have this but I was hoping fior a faster way:
frames=[];
for i=1:5
frames=frames+frame(:,:,:,i);
end
0 comentarios
Respuesta aceptada
Srivardhan Gadila
el 30 de Oct. de 2020
frame = rand(1824,2736,1,5);
frames = sum(frame,4);
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre MATLAB Support Package for IP Cameras en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!