Line profile through auto selected columns in an image
Show older comments
I have an image of a regular pattern where I have roughly the locations of each object (by roughly I mean to within 1 pixel in x&y)

I want to be able to sum the line profiles of the columns. I originally summed all columns but it led to a "ringing effect" as some column were out of phase. I have now decided I want to perform the line scan only thru the columns that "are in phase" i.e. as indicated by the yellow lines.
I have the locations xi,yi of each of the red spots, for the example they are:
[xi,yi]=
2 9
2 19
5 4
5 14
8 9
8 19
11 3
11 14
13 9
13 19
In reality, there are hundreds of objects and the horizontal location of the spots maybe +-1 pixel out so infact my linescan needs to be of some thickness for each yellow line, and then suming all of these together.
Whats driving this is the need to give a measurement of fwhm to the illuminated pattern below, but due to the pattern i need to only include columns in phase.

I've no idea how to approach this.
Accepted Answer
More Answers (0)
Categories
Find more on Computer Vision with Simulink in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!