Info

此问题已关闭。 请重新打开它进行编辑或回答。

Locating peak intensity centroid in an image

1 次查看(过去 30 天)
Sharif
Sharif 2019-5-6
关闭: Stephan 2019-5-6
Hello,
I have a hundreds of images that look like:
img.png
I need to be able to reliably and robustly find the centroid of the white square based on location of its peak intensity. However, the presence of the scale bar complicated thing.
I thought that fitting Gaussians to equally spaced vertical profiles, taken between the scale bar notches would be a good start. E.g:
img002.png
a straight fit did not produce a good fit:
gauss_fit.png
Excluding the following (xData <= 240) | (yData < 100) did result in a better fit:
gauss_fit_exc.png

回答(0 个)

此问题已关闭。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by