| Products & Services | Industries | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Image Processing Toolbox |
| Contents | Index |
| Learn more about Image Processing Toolbox |
warp(X,map)
warp(I,n)
warp(BW)
warp(RGB)
warp(z,...)
warp(x,y,z...)
h = warp(...)
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.
The input image can be of class logical, uint8, uint16, or double.
Texture-mapped surfaces are generally rendered more slowly than images.
Map an image of a test pattern onto a cylinder.
[x,y,z] = cylinder;
I = imread('testpat1.png');
warp(x,y,z,I);

image, imagesc, surf in the MATLAB Function Reference
![]() | uintlut | watershed | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |