Home > phiwave > @phiw_wavelet > inp2out.m

inp2out

PURPOSE ^

return output dimensions, indices for input vol given input dimensions

SYNOPSIS ^

function [odim, oimgi] = inp2out(w, idim)

DESCRIPTION ^

 return output dimensions, indices for input vol given input dimensions

 $Id: inp2out.m,v 1.2 2005/06/05 04:42:22 matthewbrett Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [odim, oimgi] = inp2out(w, idim)
0002 % return output dimensions, indices for input vol given input dimensions
0003 %
0004 % $Id: inp2out.m,v 1.2 2005/06/05 04:42:22 matthewbrett Exp $
0005 
0006 odim = outdim(w, idim);
0007 oimgi = floor((odim-idim)/2)+1;
0008 oimgi(2,:) = oimgi(1,:)+idim-1;

Generated on Wed 06-Jul-2005 18:07:21 by m2html © 2003