Image Analysis on stars/streaks in sky

3 views (last 30 days)
David Kittner
David Kittner on 17 Jul 2017
Answered: Don Zheng on 20 Jul 2017
I'm working on a program that will find out the orientation and location of streaks in the sky are based on images taken from telescopes in order to update current skycatalogs on where orbital debris and satellites are. Currently I have determined what pixels in the image are part of a streak (bright white lines), and I have put the horizontal and vertical indices of these pixels in a 2-d array. In (example image), the left side is the pre-processed image and the right side I have replaced all the pixels in the streak with the average noise value of the image. Exampleimage2 shows another example input with an obvious streak.
My question is, how can I determine the width of the streak if I already have the horizontal and vertical indices of all the pixels in the streak (note: the width would be the shorter dimension, probably only a few pixels wide).

Answers (1)

Don Zheng
Don Zheng on 20 Jul 2017
Try Principal Component Analysis and the width should be proportional to the standard deviation of the second principal component.
MATLAB provides this ' pca ' function to help you do that.

Community Treasure Hunt

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

Start Hunting!