Cookie consent

AstroBin saves small pieces of text information (cookies) on your device in order to deliver better content and for statistical purposes. You can disable the usage of cookies by changing the settings of your browser. By browsing AstroBin without changing the browser settings, you grant us permission to store that information on your device.

I agree
Contains:  Other
StarNet: a neural network removing stars from images, 





    
        

            Nikita Misiura

StarNet: a neural network removing stars from images

Description

This has been my project for a last few months.

Star removal is real pain, as far as I see it at least, so I decided to try building a neural net doing this for me. This turned out to be not that bad, so I decided to share it in case other people find it useful for their own work flows. Most of technical details and the code could be found at github here:

https://github.com/nekitmm/starnet

I won't repeat everything here, because it is quite a lot. Instead, here I decided to show few examples of its performance.

All the images you will see as revisions here, with one partial exception, are test examples, which means the neural net never saw them during training, and I present them here in full resolution without any additional post-processing whatsoever.

Revs B and C show my Coccoon nebula picture - original and without stars.

Rev D - additinal output from the net, a mask, showing what regions were significantly changed by it.

Revs E through H show two more examples of star removal.

Revs I and J, and M and N feature images from different imaging systems that those used in training data. Training data was only from FSQ106 + QSI 683 imaging train, while those images came from RH305+FLI ML 8300 and from Canon 5DmkII+135mm lens setups. This shows that the net seems to be pretty transferable and is able to remove stars from images coming from different setups.

Of course, this version of the net is worse at removing stars having long spikes (coming from Newtonians for example) because I don't have images like this in my training set (and images from Newtonians at all, I am planning on adding them later). But I share all my code and neural net weights under very permissive licences, so you can train it a bit more on your own data and use it in your workflow. More on that on github.

Revs K and L are kinda examples of this. Image K is extremely busy with stars, and initial net performance was bad on it, so I partially cleared it from stars and added this small cleared image into training set. As a result, the net now can remove stars from the image very well.

Hope it will be usefull for someone who likes to mess around with new techniques, but no warranties or liabilities whatsoever.

It may not work for your data, but I am not tired of this project yet, so I think I will continue working on this for a while and maybe will make it even better.

Comments

Author

nekitmm
Nikita Misiura
License: Attribution-NonCommercial Creative Commons
361826
Like

Revisions

  • Final
    StarNet: a neural network removing stars from images, 





    
        

            Nikita Misiura
    Original
  • StarNet: a neural network removing stars from images, 





    
        

            Nikita Misiura
    B
  • StarNet: a neural network removing stars from images, 





    
        

            Nikita Misiura
    C
  • StarNet: a neural network removing stars from images, 





    
        

            Nikita Misiura
    D
  • StarNet: a neural network removing stars from images, 





    
        

            Nikita Misiura
    E
  • StarNet: a neural network removing stars from images, 





    
        

            Nikita Misiura
    F
  • StarNet: a neural network removing stars from images, 





    
        

            Nikita Misiura
    G
  • StarNet: a neural network removing stars from images, 





    
        

            Nikita Misiura
    H
  • StarNet: a neural network removing stars from images, 





    
        

            Nikita Misiura
    I
  • StarNet: a neural network removing stars from images, 





    
        

            Nikita Misiura
    J
  • StarNet: a neural network removing stars from images, 





    
        

            Nikita Misiura
    K
  • StarNet: a neural network removing stars from images, 





    
        

            Nikita Misiura
    L
  • StarNet: a neural network removing stars from images, 





    
        

            Nikita Misiura
    M
  • StarNet: a neural network removing stars from images, 





    
        

            Nikita Misiura
    N

Histogram

StarNet: a neural network removing stars from images, 





    
        

            Nikita Misiura