You are on page 1of 2

MAT LAB ACTIVITY

REWARD POINTS ACTIVITY

DEPARTMENT OF ELECTRONICS AND


COMMUNICATION ENGINEERING

STUDENT NAME: MUNAZIRR FATHIMA


ROLL NO : 191EC208

 "RGB TO GREY CONVERSION USING MATLAB”


INTRODUCTION:

MATLAB is a multi-paradigm numerical computing environment and proprietary


programming language developed by MathWorks. MATLAB allows matrix manipulations, plotting
of functions and data, implementation of algorithms, creation of user interfaces, and interfacing with
programs written in other languages.Here we are converting an rgb image to grayscale image by
using matlab.

CODE:
Clc;
Clear all;
Close all;
RGB = imread('apple.jpg');
imshow(RGB);
I = rgb2gray(RGB);
figure
imshow(I);
OUTPUT:
RGB IMGE:

GRAYSCALE IMAGE:

CONCLUSION:

By using matlab ,we can solve mathematical operations easily.

You might also like