Use MorphologicalTransform on a duplicate. 11x11 structuring element, with just a single horizontal white line. Use "Closing" as the operation. Then multiply this result by the original image. This will give you all the star candidates, along with some other structures that are easily removed. Use Binarize to create a binary mask that selects all the stars.