type4transform.m
上传用户:l56789
上传日期:2022-02-25
资源大小:2422k
文件大小:0k
源码类别:

图形图像处理

开发平台:

Matlab

  1. %type4transform.m
  2. %written by: Duncan Po
  3. %Date: June 8/2002
  4. % utility file used in contourlet2tree.m
  5. % usage: x = type4transform(y,z)
  6. % combines y and z to give x
  7. function x = type4transform(y,z)
  8. row = size(y,1);
  9. col = size(y,2);
  10. y = y.';
  11. z = z.';
  12. y = reshape(y, col*2, row/2);
  13. z = reshape(z, col*2, row/2);
  14. x = [y; z];
  15. x = reshape(x, col, 2*row);
  16. x = x.';