Image Histogram without built-in function | MATLAB

Published: 18 June 2020
on channel: Knowledge Amplifier
5,660
38

Prerequisite:
Grayscale Image & Color Image Histogram | MATLAB
   • Grayscale Image & Color Image Histogram | ...  
Array Indexing using Characters & Valid Anagram | JAVA
   • Array Indexing using Characters & Valid An...  
Code for above animation:
clc
clear all
close all
warning off;
x=imread('Building.jpg');
h=zeros(1,256);
[r c]=size(x);
n = 0 : 255;
for i=1:r
for j=1:c
h(x(i,j)+1)=h(x(i,j)+1)+1;
end
stem(n, h);
drawnow limitrate;
end
figure;
histogram(x);

#ImageHistogram #DIP #DSP


On this page of the site you can watch the video online Image Histogram without built-in function | MATLAB with a duration of hours minute second in good quality, which was uploaded by the user Knowledge Amplifier 18 June 2020, share the link with friends and acquaintances, this video has already been watched 5,660 times on youtube and it was liked by 38 viewers. Enjoy your viewing!