Author Topic: Searching image for similar features.  (Read 720 times)

Offline zackyd

  • Newcomer
  • Posts: 3
    • View Profile
Searching image for similar features.
« on: 2016 June 16 12:25:48 »
I have a question I would like to throw out there. I am looking at this image:

And I am interested in selecting just the stars in the image. The star trails are all the same length more or less, different diameters, and more or less in the same vector depending on the rotation of the comet.
any thoughts?


Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2173
  • Join the dark side... we have cookies
    • View Profile
Re: Searching image for similar features.
« Reply #1 on: 2016 June 16 13:11:23 »
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.

Carlos Milovic F.
PixInsight Project Developer