1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Basic operations with images - MATLAB

Purchase this article for $25.00

  • Article describes the basic information with images in the MATLAB environment. Loading an image, editing the matrices in which the image is represented, converting the image to grayscale using the different components of the RGB model and their diameter.

    Perform image reduction with a built-in function in the MATLAB environment, rotate the image by transposing the matrix, skew the image diagonally, extract the images into a figure. Article is suitable for beginners, students, to whom the program can help with assignments, tests.

    MATLAB script is available at Github repository (MIT licensed): https://github.com/martinius96/MATLAB-scripty/blob/main/Praca_s_obrazkami/RGB_GRAY_ukos.m

    Original image:
    [​IMG]

    Red pixel component in grayscale:
    [​IMG]

    Green pixel component in grayscale:
    [​IMG]

    Blue pixel component in grayscale:
    [​IMG]

    Balanced image of RGB average in grayscale:
    [​IMG]

    Resized image (50% smaller in original resolution):
    [​IMG]

    Rotated image using rot90 function for transpose matrix:
    [​IMG]

    Diagonal beveled image:
    [​IMG]

    Output figure with all images:
    [​IMG]
  • Title
    Words
    Sentences
    Quality Score
    1. Basic operations with images - MATLAB
      In today's article I would like to describe basic operations with images in the MATLAB...
      976
      46
      68.033