Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

warp

Display image as texture-mapped surface

Syntax

warp(X,map)
warp(I,n)
warp(BW)
warp(RGB)
warp(z,...)
warp(x,y,z...)
h = warp(...)

Description

warp(X,map) displays the indexed image X with colormap map as a texture map on a simple rectangular surface.

warp(I,n) displays the intensity image I with grayscale colormap of length n as a texture map on a simple rectangular surface.

warp(BW) displays the binary image BW as a texture map on a simple rectangular surface.

warp(RGB) displays the RGB image in the array RGB as a texture map on a simple rectangular surface.

warp(z,...) displays the image on the surface z.

warp(x,y,z...) displays the image on the surface (x,y,z).

h = warp(...) returns a handle to a texture-mapped surface.

Class Support

The input image can be of class logical, uint8, uint16, or double.

More About

collapse all

Tips

Texture-mapped surfaces are generally rendered more slowly than images.

See Also

| | |

Introduced before R2006a

Was this topic helpful?