Docs @ Psychtoolbox Wiki : MakeRadiusMat

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

MakeRadiusMat

PsychtoolboxPsychOptics

radius = MakeRadiusMat(nx,ny,centerx,[centery])

Return an n by n matrix whose entries are the
radial distance in pixels from the center pixel.

This matrix is a useful thing to pre-compute for
performing certain 2D image processing operations.

The no-loop algorithm is due to Stan Klein.

7/11/94 dhb Slick version.




Path   Retrieve current version of MakeRadiusMat.m from berliOS: beta | view WebSVN changelog of trunk branch
Psychtoolbox/PsychOptics/MakeRadiusMat.m


Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.1333 seconds