Author Topic: RANSAC: Unable to find a valid set of star pair matches.  (Read 8717 times)

Offline jerrymacon

  • Newcomer
  • Posts: 7
RANSAC: Unable to find a valid set of star pair matches.
« on: 2014 September 15 08:23:43 »
Some of my sets of images give RANSAC errors for all the images.  Example:  36 images, all good focus, all nicely aligned.  Typical error:
Detecting stars: done
3366 stars found.
* Limiting to 500 brightest stars.
Matching stars: done
99 putative star pair matches.
Performing RANSAC: done
*** Error: RANSAC: Unable to find a valid set of star pair matches.
Using:  DSLR Nikon D5200, 6036x4020 pixels, ISO 12800 or 25600, exposure 60 sec.  Very very dark site. No moon.
Out of 5 targets with ISO 12800, only 1 worked (perfectly), all others gave RANSAC errors on all images.
Out of 3 targets with ISO 25600, none worked, all gave RANSAC errors on all images.
Is the RANSAC code not able to cope with the high ISO?
Thanks for any help on this.

Offline cdesselles

  • PixInsight Addict
  • ***
  • Posts: 164
Re: RANSAC: Unable to find a valid set of star pair matches.
« Reply #1 on: 2014 September 15 09:03:18 »
It's not just your Nikon and the high ISO.  I get the same issue all the time with a Canon T2i and ISO 1600 or even 800.  I thought it was something I was doing wrong somewhere but haven't been able to identify  the problem.  I am certainly listening with both ears to see what helpful answers you attract here concerning this issue. 

Thanks for asking the question.  If you hadn't beaten me to it, I certainly would have asked it soon myself.   :)
Celestron CPC1100 - Canon 550D (T2i) and of course, Pixinsight!

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: RANSAC: Unable to find a valid set of star pair matches.
« Reply #2 on: 2014 September 15 09:48:19 »
a good way to debug this is to use StarAlignment in "detected stars" mode and then take a look at what SA thinks the stars are. if it's picking up hot pixels or other noise, you can try changing the star detection threshold or increase the Hot Pixel removal or Noise Reduction parameters in StarAlignment.

rob

Offline cdesselles

  • PixInsight Addict
  • ***
  • Posts: 164
Re: RANSAC: Unable to find a valid set of star pair matches.
« Reply #3 on: 2014 September 15 11:26:01 »
Thanks, Rob.  I'll certainly give that a try.
Celestron CPC1100 - Canon 550D (T2i) and of course, Pixinsight!

Offline jerrymacon

  • Newcomer
  • Posts: 7
Re: RANSAC: Unable to find a valid set of star pair matches.
« Reply #4 on: 2014 September 17 10:43:36 »
Problem for me appears to be sub-quality images, aggravated by high ISO's and/or long focal lengths.
The following allowed all the ISO 12800 sets to align roughly half or more of the images in a set:
Using 'Batch PreProcessing Script', Lights tab, 'Image Registration', set Noise Reduction from <Disabled> to 1.
The 2 out of 3 ISO 25600 sets still would not align.  Tried numbers up to 10, still no luck.
These images were not nearly my best images.  They all had some combination of deficiencies in focus, tracking, light clouds.
Further evidence of this: 
My rig has a 90mm refractor at 630mm, and 200mm RC at 1624mm, both taking images at the same time.
All sets at 630mm PreProcessed perfectly.  Only had the problems with the 1624mm sets.  On other imaging nights with better quality images, similar 1624mm sets have all PreProcessed nicely.
Hope this helps.