how do i create mirror images of images in .mat format
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
sara bokhari
el 11 de Abr. de 2014
Comentada: Walter Roberson
el 14 de Abr. de 2014
I'm basically trying to make a data set for AAM training, I have landmarked several images( video sequence of a frontal pose to moving the head right) and stored them in a .mat format. So now i want a code that will create the mirror image of the annotated images so that i dun have to repeat the process for frontal pose to head moving left on each image.
0 comentarios
Respuesta aceptada
Walter Roberson
el 11 de Abr. de 2014
fliplr() ?
6 comentarios
sara bokhari
el 14 de Abr. de 2014
Editada: Walter Roberson
el 14 de Abr. de 2014
Walter Roberson
el 14 de Abr. de 2014
save(matfilename, '-struct', 'filedata');
The code does save both the original and the flipped versions; the flipped ones are prefixed with the word 'flip_'. The code can be run multiple times on the same .mat file, as it will not overwrite an existing flip_ version of an image.
Más respuestas (0)
Ver también
Categorías
Más información sobre Matrix Indexing 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!