MATLAB permute () function & differences between matrix A and matrix a' & imresize () function

Source: Internet
Author: User


MATLAB Image Processing day9:


1. Permute ():

The % permute function is used to rearrange the array and swap the dimension of the array.

% For a two-dimensional array, the permute function can be used to transpose the matrix.

Sample:


2. Differences between matrix A and matrix:

A' indicates the transpose matrix of.


3. imresize ():

% Function for scaling

% The general form is <I> B = imresize (a, m)

The length and width of matrix B are m times that of matrix A. If M> 1, B is the enlarged image of matrix.

If M is less than 1, B is the reduced image of.

 

<II> B = imresize (A, [numrows numcols])

Specify the height and width of Image B, that is, it is not scaled in proportion to image a, which may cause deformation of the image.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.