Filter löschen
Filter löschen

Extracting Satellite streaks.

3 Ansichten (letzte 30 Tage)
ARYA MOHAN
ARYA MOHAN am 9 Apr. 2021
Kommentiert: ARYA MOHAN am 9 Apr. 2021
I have some images of satellite streaks. How can we extract that streak ?That is I need an image with all stars pixels removed , just the streaks only.
  2 Kommentare
KALYAN ACHARJYA
KALYAN ACHARJYA am 9 Apr. 2021
Can you share one sample image?
ARYA MOHAN
ARYA MOHAN am 9 Apr. 2021
Sure

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

DGM
DGM am 9 Apr. 2021
Here's my attempt:
inpict = imread('sat.jpg');
bwpict = im2bw(inpict);
bwpict = bwpropfilt(bwpict,'eccentricity',[0.95 1]);
bwpict = bwmorph(bwpict,'dilate',2);
outpict = inpict.*uint8(bwpict);
This captures most of the object, but the head and tail get pruned a bit. Tweaking the thresholding parameter during the initial binarization might help. It would be nice to dilate the mask a bit more, but you'd run the risk of including nearby stars. I'm sure this can be improved, but for this single test case, it works.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by