
Removal of unevenness of a histogram 1.0 File ID: 78362 


 Removal of unevenness of a histogram 1.0 License: Freeware File Size: 10.0 KB Downloads: 4
Submit Rating: 



Removal of unevenness of a histogram 1.0 Description 

Description: While working with a histogram we may need to detect a peak or crest of the histogram.But the histogram contains a number of local minima & maxima which makes the histogram extremely uneven.While detecting a peak or crest we are intended to detect the global peak or crest.This code replaces every local minimamaxima pair by a plate height of which is equal to the average height of the local minimamaxima pair and width is equal to the width of the local minimamaxima pair.Further smoothness is added as floor of the average value is taken as the crest value.This means if there are 2 or more consecutive plates of height say 5.87,5.89, 5.99 & so on ;they actually give rise to a single plate of height 5 and it ranges through more than 3 local minimamaxima pair.Now as the histogram becomes much smoother further work can be carried out on this histogram
License: Freeware Related: valuethis, means, floor, added, average, Width, pairfurther, smoothness, consecutive, Plates, smoother, carried, pairnow O/S:BSD, Linux, Solaris, Mac OS X File Size: 10.0 KB Downloads: 4


More Similar Code 

Two files are included: CALCNBINS, which calculates the "ideal" number of bins to use in a histogram, using three possible methods. (FreedmanDiaconis', Scott's and Sturges' methods.)
HISTX is a wrapper for Matlab's own histogram function HIST, that uses CALCNBINS to choose the number of bins if none is provided.
Examples: y = randn(10000,1); nb = calcnbins(y, 'all') % nb = % fd: 57
This function finds dominant peaks and valleys of an image histogram. Minimum peak distance and averaging filter size can be changed to suit your need. Although, the function is originally written for mages, there is no reason why this can't...
function [optN, C, N] = sshist(x,N) [optN, C, N] = sshist(x,N)
Function `sshist' returns the optimal number of bins in a histogram used for density estimation. Optimization principle is to minimize expected L2 loss...
HISTCND is similar to HISTC, but creates a histogram with any number of dimensions.
N = HISTCND(X,Y,Z,... XEDGES,YEDGES,ZEDGES,... )
where N is a histogram count with dimensions length(XEDGES) x length(YEDGES) x...
PDFPLOT displays a histogram of the empirical probability density function (PDF) for the data in the input array X using nbins number of bins. If input X is a matrix, then pdfplot(X) parses it to the vector and displays PDF of all values.
Detects and allows removal of obsolete content types managed by missing modules and modules that no longer offer the content types they once did. The tool is accessible from a tab in the content types admin section.
Sets of only a few items already have many ways they can be partitioned into subsets. Therefore it can be useful to generate these partitions by index, like the partition class were some large list where one can just access element "i"....
The simplest, direct way of consuming a list in a random fashion is painfully slow for list with a few 100's of elements. There are equally simple, but much faster ways to do this.
The provided functions demonstrate a histogrambased measure for class separability, given the samples from two classes (binary classification problem). The proposed error classification estimation method is described in (B) and it is based on...
X = PARTPERM(A,IDX) randomly permutes the elements of vector A which are specified by vector IDX. That is, the elements A(IDX) are randomly interchanged with one another and the resulting (partially permuted) vector is returned. No permutation... 
User Review for Removal of unevenness of a histogram 
