4.625

4.6 | 8 ratings Rate this file 30 Downloads (last 30 days) File Size: 2.76 KB File ID: #17537

Histogram features of a gray level image

by

 

15 Nov 2007 (Updated )

This function is to calculate histogram features of a gray level image

| Watch this File

File Information
Description

Following features are calculated:
% Mean
% Variance
% Skewness
% Kurtosis
% Energy
% Entropy

Any Other histogram based features can be easily incorporated.Enjoy it.

MATLAB release MATLAB 7.5 (R2007b)
Other requirements MATLAB 7.5 Windows XP SP2
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (12)
18 Dec 2013 Esra

thank you

02 Nov 2013 babak eh

The code line for entropy should be changed as the log(Prob) when prob=0 goes to -inf.

to fix this simply change the line to:
Entropy = -sum(Prob.*log(max(Prob,min(Prob(Prob~=0)))));

there are many other ways to fix this.

01 May 2012 Mandeep

Can anyone help to explain the input arguments??

27 Apr 2011 Xufeng Hua

3q

10 Mar 2011 nurul

Can anyone help me, how I want run this coding??

13 Mar 2009 sun peng

Very helpful!

18 Jul 2008 Tetyana Ivanovska

Thank you.

12 Jun 2008 Joie __

work good. correctly.

19 Mar 2008 pierre cardin

thx

22 Nov 2007 nsm ds

perfect and useful thanx.

21 Nov 2007 cos alm

thanks

19 Nov 2007 yue feng

Thx

Contact us