Home > WaCoLab > package > signal > MakeImg.m

MakeImg

PURPOSE ^

MakeImg -- Make an artificial 2D signal

SYNOPSIS ^

function img = MakeImg(name,n,par)

DESCRIPTION ^

 MakeImg -- Make an artificial 2D signal

 input:
    name: String with the name of the desired image (case insensitive)
      'Backgammon'
      'BoxWithCross'    (par = length of side [n/2])
      'Checkerboard'
      'Circle'          (par = radius [n/4])
      'FigureEight'
      'Mondrian'        (par = number [10])        
      'OvalDiagonal'    (par = major/minor axes ratio [2])
      'OvalHorizontal'  (par = major/minor axes ratio [2])
      'OvalVertical'    (par = major/minor axes ratio [2])
      'StickFigure'
      'Triangle'
      'VanishingPoint'
      'Square'
    n:                   desired signal dimension
    par:                 optional parameter, defaults in []'s above
 output:
    img:                 n by n image

 original by David L. Donoho. (MakeSignal part of Wavelet .850)
 
 adapted by Olivier Pareit

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 12-Oct-2007 20:23:47 by m2html © 2003