Locating peak intensity centroid in an image

5 visualizzazioni (ultimi 30 giorni)
Sharif
Sharif il 6 Mag 2019
Hello,
I have a hundreds of images that look like:
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:
a simple fit did not produce a good fit:
Excluding the following (xData <= 240) | (yData < 100) did result in a better fit:
I am no longer sure if this is the best approach!
I would really appreciate any advice on how to best find the peak intensity centroid.
A sample image is attached.
Many thanks,
S

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by