Skip to Main Content Skip to Search
Product Documentation

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.

Tips

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

See Also

image | imagesc | imshow | surf

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS