Removal of unevenness of a histogram
by Bratati paul
16 Jan 2009
Every local minima-maxima pair is replaced by a plate and histogram is smoothened
|
Watch this File
|
| File Information |
| 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 minima-maxima pair by a plate height of which is equal to the average height of the local minima-maxima pair and width is equal to the width of the local minima-maxima 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 minima-maxima pair.Now as the histogram becomes much smoother further work can be carried out on this histogram . |
| MATLAB release |
MATLAB 6.5.1 (R13SP1)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
|
Contact us at files@mathworks.com