Docs @ Psychtoolbox Wiki : MaskImageOut

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

MaskImageOut

PsychtoolboxPsychAlphaBlending

mMasked=MaskImageOut(m [,alphaIn])

Accept an image matrix "m" and return "nMasked", holding the same image
but with adjusted alpha values. MaskImageOut sets full opacity
for pixels with value zero and sets full transparency for pixels with
non-zero value.

If the optional alphaIn argument is specified then MaskImageIn sets
zero pixels to alphaIn opacity instad of to full opacity, 255.

see also: SetImageAlpha, MaskImageIn, AlphaDemo.




Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychAlphaBlending/MaskImageOut.m


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