clc;
clear;
close all;
% read image
I = imread('002_45.bmp');
imshow(I);
% Spliting Channel of the image
R = I(:,:,1);
G = I(:,:,2);
B = I(:,:,3);
% Color ratio is computed for each channel
r = R./R + G + B;
g = G./R + G + B;
b = B./R + G + B;
imshow([R G B]);
- Home
- Jobs
- _Pak Army
- _Pakistan Air Force
- _Atomic Energy
- _PAC Kamra
- _Pakistan Navy
- _Pakistan Railways
- _POF
- _Fpsc
- _Ppsc
- _Other Government Jobs
- Programming
- _c++
- _Phyton
- _Php
- _c#
- __Asp.net mvc
- _Matlab
- Adobe illustrator tutorial
- General Knowledge
- Courses
- _Computer vision
- Past Papers
- _OTS Past Papers
- _FPSC past paper
- _PPSC past paper
- __Computer Science
- Articles
0 Comments