Switch to full style
General MATLAB code examples.
Post a reply

drawing the histogram of image

Wed Mar 23, 2011 10:38 pm

drawing the histogram of image using imhist function
Code:


   I 
= imread('cameraman.tif'); 
   
   
%% all number of bins.
   imhist(I);
   figure;
   %% change the number of bins used .
   imhist(I,100);
 



Attachments
untitled.GIF
untitled.GIF (11.88 KiB) Viewed 6854 times

Post a reply
  Related Posts  to : drawing the histogram of image
 image equalization and cumulative histogram     -  
 Image Colors Frequencies Histogram in Java     -  
 Histogram Generator     -  
 Image-Viewer-Image Processing-Filters-Noise-enhancements     -  
 Move image in front of a background image     -  
 different between cfa image and gray level image     -  
 Drawing a Square in php     -  
 Drawing Lines in php     -  
 Drawing a Triangler in php     -  
 drawing sonic     -  

Topic Tags

Matlab Image