Undefined function 'rgb2gray' for input arguments of type 'uint8'.

5 Ansichten (letzte 30 Tage)
Leonardo Wayne
Leonardo Wayne am 16 Mär. 2016
Beantwortet: Walter Roberson am 16 Mär. 2016
I am using MATLAB 2013 b. It gives the error: Undefined function 'rgb2gray' for input arguments of type 'uint8'
when I am loading an image to do some processing. Help?
A= imread('Saturn.jpg');
image(A); %show image loaded
B=rgb2gray(A); % RGB to Gray Level image conversion

Antworten (1)

Walter Roberson
Walter Roberson am 16 Mär. 2016
rgb2gray() is part of the Image Processing Toolbox. If you have a Student Version license, you probably have a license for it, but you might not have installed it yet.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by