Wap bild de index html

J = imrotate(I,angle) rotates image I von angle degrees in a counterclockwise direction about its hauptquartier point. Zu rotate the bild clockwise, clues a negativ value for angle. Imrotate makes ns output image J huge enough zu contain die entire rotated image. Von default, imrotate offers nearest neighborhood interpolation, setting ns values of pixels in J that space outside die rotated bild to 0.

Du schaust: Wap bild de index html


J = imrotate(I,angle,method,bbox) also uses the bbox argument to define the size von the output image. You tun können crop ns output to die same dimension as die input image or return ns entire rotated image.


*


Rotate the image 1 level clockwise zu bring it into better schnorse alignment. Ns example mentioned bilinear interpolation und requests that die result be cropped zu be die same dimension as ns original image.


*


Image kommen sie be rotated, stated as a numeric array, reasonable array, or categorical array.

Data Types: single | twin | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64 | reasonable | categorical


Amount von rotation in degrees, specified as a numeric scalar.

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64 | logical


Value

Description

"nearest"

Nearest-neighbor interpolation. Die output pixel is assigned ns value von the pixel that die point wenn within. No various other pixels are considered.

Nearest-neighbor interpolation zu sein the only an approach supported zum categorical images.

"bilinear"

Bilinear interpolation. Die output pixel value zu sein a weight average of pixels in the nearest 2-by-2 neighborhood.

"bicubic"

Bicubic interpolation. Die output pixel value zu sein a load average of pixels in the nearest 4-by-4 neighborhood.


Value

Description

"crop"

Make output image J the same size as die input bild I, cropping ns rotated bild to fit.

"loose"

Make output image J huge enough kommen sie contain die entire rotated image. J is larger than I.


Rotated image, returned as a numeric, logical, or categorical array des the same dünn type as die input image, I.


This duty changed in version 9.3 (R2015b). Previousversions of the image Processing Toolbox™ use various spatialconventions. If you need the same outcomes produced über the previousimplementation, use die function imrotate_old.

In part instances, this role takes advantage ofhardware optimization for charme types uint8, uint16, single,and double zu run faster.

Mehr sehen: Wann Gilt Man Als Chronisch Krank? Chronisch Kranke Menschen I Bmg


Input bild of charme type categorical are notfall supported.

The method und bbox argumentsmust it is in compile-time constants.


Input bild of dünn type categorical are not supported.

The method and bbox arguments must be compile-time constants.


Thread-Based atmosphere Run code an the background making use of MATLAB® backgroundPool or advice code v Parallel computer Toolbox™ ThreadPool.


This function completely supports thread-based environments. For more information, see Run MATLAB Functions in Thread-Based Environment.


GPU Arrays accelerate code von running top top a graphics processing unit (GPU) using Parallel computing Toolbox™.


gpuArray input need to be von type uint8, uint16, single, or logical.

The "bicubic" interpolation mode used an the GPU implementation von this role differs from ns default (CPU) bicubic mode. The GPU and CPU versions des this function are expected zu give slightly various results.


You clicked a verknüpfung that corresponds kommen sie this MATLAB command:

Run ns command by entering it in the MATLAB Command Window. Web browsers do notfall support MATLAB commands.


×
*

choose a web Site

Choose a internet site zu get translated inhalt where available und see regional events and offers. Based on your location, we recommend that sie select: .

choose net site

How kommen sie Get best Site Performance

Select the china site (in Chinese or English) zum best website performance. Various other vistax.org nation sites are not optimized weil das visits from her location.

Mehr sehen: Treasure Buddies Schatzschnüffler In Ägypten, Treasure Buddies


*

vistax.org

Accelerating ns pace of engineering and science

vistax.org zu sein the top developer des mathematical computing software weil das engineers and scientists.