Docs @ Psychtoolbox Wiki : PutImage

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

Revision [14004]

Last edited on 2011-07-05 05:19:20 by DocBot
Additions:
Copy the matrix "imageArray" to a window, slowly.
"rect" is in window coordinates. The whole image is copied to "rect", scaling if
necessary. The rect default is the imageArray's rect, centered in the window.
The orientation of the array in the window is identical to that of Matlab's
numerical array displays in the Command Window. The first pixel is in the upper
left, and the rows are horizontal. imageArray can be a pure luminance matrix, a
RGB color matrix, or a RGBA color matrix with alpha channel. Its data type can
be uint8 (faster) or double. Please note that this function is relatively slow
and inflexible. Have a look at the 'MakeTexture' and 'DrawTexture' functions for
a faster and more flexible way of drawing image matrices.
Deletions:
Copy the matrix "imageArray" to a window, slowly. "rect" is in window
coordinates. The whole image is copied to "rect", scaling if necessary. The rect
default is the imageArray's rect, centered in the window. The orientation of the
array in the window is identical to that of Matlab's numerical array displays in
the Command Window. The first pixel is in the upper left, and the rows are
horizontal. imageArray can be a pure luminance matrix, a RGB color matrix, or a
RGBA color matrix with alpha channel. Its data type can be uint8 (faster) or
double. Please note that this function is relatively slow and inflexible. Have a
look at the 'MakeTexture' and 'DrawTexture' functions for a faster and more
flexible way of drawing image matrices.


Revision [9199]

Edited on 2008-11-05 06:21:22 by DocBot
Additions:
""<div class="subfct" id="Screen">""===[[PutImage Screen('PutImage')]]===
Deletions:
""<div class="subfct" id="Screen" style="background-color:#eee; padding:1em; border-width:1px; border-style:solid; border-color:#ddd; margin-bottom: 2em;border-top: 5px solid #999999;">""===[[PutImage Screen('PutImage')]]===


Revision [7084]

Edited on 2008-07-10 16:13:07 by DocBot
Additions:
""<div class="subfct" id="Screen" style="background-color:#eee; padding:1em; border-width:1px; border-style:solid; border-color:#ddd; margin-bottom: 2em;border-top: 5px solid #999999;">""===[[PutImage Screen('PutImage')]]===
GetImage OpenOffscreenWindow MakeTexture DrawTexture DrawTextures<<""</div>""
Deletions:
===[[PutImage Screen('PutImage')]]===
GetImage OpenOffscreenWindow MakeTexture DrawTexture DrawTextures<<


Revision [5221]

Edited on 2008-06-15 20:06:46 by DocBot
Additions:
horizontal. imageArray can be a pure luminance matrix, a RGB color matrix, or a
RGBA color matrix with alpha channel. Its data type can be uint8 (faster) or
double. Please note that this function is relatively slow and inflexible. Have a
look at the 'MakeTexture' and 'DrawTexture' functions for a faster and more
flexible way of drawing image matrices.
GetImage OpenOffscreenWindow MakeTexture DrawTexture DrawTextures<<
Deletions:
horizontal.
GetImage<<


Revision [5025]

Edited on 2008-04-26 21:33:10 by DocBot
Additions:
===[[PutImage Screen('PutImage')]]===
==[[Psychtoolbox]] › [[Screen]].{mex*,dll} subfunction==
%%(matlab;Usage)Screen('PutImage', windowPtr, imageArray [,rect])%%
<<=====See also:=====
GetImage<<
Deletions:
===[[PutImage]]===
==ScreenFunctions==
Usage:
Screen('PutImage', windowPtr, imageArray [,rect])
ScreenFunctions


Revision [2590]

The oldest known version of this page was created on 2008-03-15 23:19:39 by DocBot
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0673 seconds