Extend Field of view by joining multiple frames
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Dear All;
I have taken a video and then convert it to frames . Unfortunately , the field of view of the camera was smaller than required to capture video details . I am thinking to join consecutive frames together in one image to complete the picture for me but how can i do it ?
0 comentarios
Respuestas (2)
Image Analyst
el 4 de En. de 2016
Use , to stitch horizontally, and ; to stitch vertically.
wideImage = [image1, image2];
tallImage = [image1, image2];
Put in a loop http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F to read in all the images and stitch them in the right place.
0 comentarios
Image Analyst
el 4 de En. de 2016
You can use montage() as long as there aren't too many of them or you'd run out of memory. Same with my other answer.
6 comentarios
Image Analyst
el 6 de En. de 2016
Use the moving one as a template. Maybe cut out a small part from the center. There's a bit of bookkeeping to do to figure out where it comes from, but it can be done, as I show in the demo. Did you run it? Notice how the template is properly located within the fixed, stationary image.
Ver también
Categorías
Más información sobre Computer Vision with Simulink 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!