How to perform Distribution type detection using histogram automatically?
2 次查看(过去 30 天)
显示 更早的评论
<<
>>
Hi everyone,
I have histogram which either contain impulse or gaussian distribution as shown in the image. Is there any way so that we can automatically detect distribution using histogram? I need automatic way.
0 个评论
回答(1 个)
Image Analyst
2013-11-27
Looks like both images you posted have both pulses and non-pulse data. What sort of classification would you like for each? To detect pulses you can run the histogram through a median filter and subtract it from the original. Then you can threshold it to find pulses taller than a certain height from their neighbors:
diffSignal = histCounts - medfilt1(histCounts);
pulseLocations = diffSignal > 100; % Or whatever number you want.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Histograms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!