Help to interpret histogram which check datas obtained with particle-tracking code
3 次查看(过去 30 天)
显示 更早的评论
Hello,
I have to understand a particle tracking code, and at the end of the code, in order to make sure that we have found our features to sub-pixel accuracy, they use this single matlab line given below :
>> hist(mod(cnt(:,1),1),20); %cnt is the centroid of each point I track
This will result in a histogram of the x-positions modulo 1.
When I run my code I obtain this: fig 1 :

or this (fig 2) :

They say : the histogram should look flat if you have enough features and they are not single pixel biased.
I don't really understand what they mean by "single pixel biased" so could you help me to interpret the histograms I obtain? For exemple for fig 2, does that mean I have 120 points with 0.15 as a x-position? and why is my x-axis bet. 0 and 1?
Thank you for your help!! Aude
0 个评论
回答(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!