Using histogram-based detection of a good luminance-threshold to divide between star and non-star pixels. No idea, how that will work with real-world examples, yet.