Home > marsbar > @mardo > flip_images.m

flip_images

PURPOSE ^

flips images in design

SYNOPSIS ^

function o = flip_images(o)

DESCRIPTION ^

 flips images in design

 $Id$

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function o = flip_images(o)
0002 % flips images in design
0003 %
0004 % $Id$
0005   
0006 if ~has_images(o), return, end
0007 VY = get_images(o);
0008 M = diag([-1 1 1 1]);
0009 for i = 1:length(VY)
0010   VY(i).mat = M * VY(i).mat;
0011 end
0012 o = set_images(o, VY);
0013   

Generated on Wed 11-May-2022 16:26:09 by m2html © 2003-2019