SourceCodePoint
Wednesday, 6 July 2016
Write a MATLAB program for convert image color RGB to Gray color
Code:
clear;
clc;
I = imread(
'd:/matimage/arithmetic/baby1.jpg'
);
J = rgb2gray(I);
figure, imshow(I), figure, imshow(J);
Output:
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment