Go Back   IceInSpace > Equipment > Software and Computers
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread
  #1  
Old 04-07-2014, 08:22 PM
Garbz (Chris)
Registered User

Garbz is offline
 
Join Date: May 2012
Location: Brisbane
Posts: 646
Pixinsight: Registration problems

Hi all, I've been battling with this for pretty much most of the day now. I'm doing a stack in Pixinsight and it seems to throw away a signficant number of my frames during the registration process. The error I get is:

** Error: RANSAC: Unable to find a valid set of star pair matches.

For some reason some of my subs just won't register. The results are dependent on which frame I use as my reference frame. Playing with the settings in the Batch Pre-Processor doesn't resolve the error or number of images causing the error. It does change the number of stars detected but this hasn't been a problem so far with nearly every image coming up with a note saying it's selected the "500 brightest stars".

I've posted an example of two images before. Before anyone points out the obvious that one is upside down, I know . But that doesn't seem to be the problem as subsequent frames after the meridian flip register fine.

Normally I wouldn't fuss about this but it's throwing away 1/4 of my data in this case! I can't see any problem with SNR, in fact it seems to register some 60 second exposures just fine too. I don't see any real problem with star elongation either. Both of these were suggested as possible solutions elsewhere.

Does anyone have any tips or suggestions of what to try next before I try manually stacking? Because that process just sucks.
Attached Thumbnails
Click for full-size image (Capture.JPG)
56.7 KB126 views
Reply With Quote
  #2  
Old 04-07-2014, 11:14 PM
RickS's Avatar
RickS (Rick)
PI cult recruiter

RickS is offline
 
Join Date: Apr 2010
Location: Brisbane
Posts: 10,584
Have you just been using BPP to do the registration, Chris? I've noticed that lately it has been failing on a bunch of subs but if I run BPP only to calibrate and then run StarAlignment manually it works fine. I haven't bothered to figure out why because it's only a minor inconvenience but I'll get around to it some time. If that's your problem then I'll feel slightly more obliged to track it down...

Cheers,
Rick.
Reply With Quote
  #3  
Old 05-07-2014, 12:54 AM
Garbz (Chris)
Registered User

Garbz is offline
 
Join Date: May 2012
Location: Brisbane
Posts: 646
Yeah I was using BPP. I guess manual will be the way to go then. I bet it's some default value that BPP uses for star alignment.

yay more to learn. There's only a million options to set in each step
Reply With Quote
  #4  
Old 05-07-2014, 10:24 AM
Garbz (Chris)
Registered User

Garbz is offline
 
Join Date: May 2012
Location: Brisbane
Posts: 646
Hey Rick I'm getting no where with StarAlignment. It finds some 1000 stars, selects a bunch of the brightest ones and then starts the RANSAC thingamabob. It finds about 10 putative star pair matches, and then fails and tries again and goes through that about 16 times and then throws an error.

I haven't figured out any setting that will actually let it find a matched pair of stars. I'm beginning to wonder if there is something bizarre in my subs.

If you at all have a moment would you be able to take a look and see if you can find some-way of making these two images align?

http://www.garbz.com/hamfail.fit
http://www.garbz.com/hamref.fit

By the way do you debeyer before registering?
Reply With Quote
  #5  
Old 05-07-2014, 01:39 PM
RickS's Avatar
RickS (Rick)
PI cult recruiter

RickS is offline
 
Join Date: Apr 2010
Location: Brisbane
Posts: 10,584
Quote:
Originally Posted by Garbz View Post
Hey Rick I'm getting no where with StarAlignment. It finds some 1000 stars, selects a bunch of the brightest ones and then starts the RANSAC thingamabob. It finds about 10 putative star pair matches, and then fails and tries again and goes through that about 16 times and then throws an error.

I haven't figured out any setting that will actually let it find a matched pair of stars. I'm beginning to wonder if there is something bizarre in my subs.

If you at all have a moment would you be able to take a look and see if you can find some-way of making these two images align?

http://www.garbz.com/hamfail.fit
http://www.garbz.com/hamref.fit

By the way do you debeyer before registering?
Hmmm... works for me? I took the two files, Debayered them both (default parameters) and then ran a star alignment with the ref file as the reference image and the fail file as a target (default parameters again) and it ran fine:

Quote:
StarAlignment: Global context

Reference view: hamref_RGB_VNG
Structure map: done
Detecting stars: done
533 stars found.

Registering target image 1 of 1
Target view: hamfail_RGB_VNG
Structure map: done
Detecting stars: done
435 stars found.
Matching stars: done
336 putative star pair matches.
Performing RANSAC: done
315 star pair matches in 5 RANSAC iterations.
Summary of model properties:
Inliers : 0.938
Overlapping : 0.924
Regularity : 0.947
Quality : 0.919
Root mean square error:
delta_RMS : 0.266 px
RMS error deviation:
sigma_RMS : 0.114 px
Peak errors:
delta_x_max : 1.318 px
delta_y_max : 0.663 px
Transformation matrix:
+1.0004 -0.0021 -43.0781
+0.0018 +1.0000 +115.1004
+0.0000 -0.0000 +1.0000
scale : 1.000
scale-X : 1.000
scale-Y : 1.000
rotation : +0.10 deg
dx : -43.08 px
dy : +115.10 px
Generating registered image: hamfail_RGB_VNG_registered
Homographic Projection / Lanczos-3 interpolation, c=0.30: done
Registration successful.

===== StarAlignment: 1 succeeded, 0 failed, 0 skipped =====
12.35 s
I can't think of any obvious reason why this wouldn't work for you. I'm running 1.08.02.1098. Maybe you could try exactly what I did and see if you get the same results? I set up the reference and target images as views rather than files. Nothing else magic about what I did.

You must debayer before registration. Registration will move the pixels around and loses the correspondence with the Bayer matrix.

Cheers,
Rick.
Reply With Quote
  #6  
Old 05-07-2014, 06:58 PM
Garbz (Chris)
Registered User

Garbz is offline
 
Join Date: May 2012
Location: Brisbane
Posts: 646
Quote:
Originally Posted by RickS View Post
You must debayer before registration. Registration will move the pixels around and loses the correspondence with the Bayer matrix.
This sounds like something so incredibly obvious that I should crawl into a hole and die of shame.

That worked now. I feel a bit . I'll give it a go on all hundred photos when I get home. Currently I've only got those two images here.
Reply With Quote
  #7  
Old 05-07-2014, 07:25 PM
RickS's Avatar
RickS (Rick)
PI cult recruiter

RickS is offline
 
Join Date: Apr 2010
Location: Brisbane
Posts: 10,584
Quote:
Originally Posted by Garbz View Post
This sounds like something so incredibly obvious that I should crawl into a hole and die of shame.

That worked now. I feel a bit . I'll give it a go on all hundred photos when I get home. Currently I've only got those two images here.
A lot of things are obvious only once they have been pointed out
Reply With Quote
  #8  
Old 06-07-2014, 02:01 PM
Garbz (Chris)
Registered User

Garbz is offline
 
Join Date: May 2012
Location: Brisbane
Posts: 646
Hey Rick, thanks for your help. I figured it all out. After doing it with Staralign and working on the debeyered images (I thought I was taking the output from the calibration step in BPP, turns out the output was actually in a subfolder called debeyered...) it still failed on 10 images.

When the calibration step was done, the overscan portions of the image was different in each picture. On the long exposure image the overscan area is brighter. Example attached.

I didn't know the significance of it but I batch cropped all the overscan areas out and now I managed to get 100% of the images to stack.

Thanks a lot for your help.
Attached Thumbnails
Click for full-size image (Capture.JPG)
138.4 KB81 views
Reply With Quote
  #9  
Old 06-07-2014, 02:14 PM
RickS's Avatar
RickS (Rick)
PI cult recruiter

RickS is offline
 
Join Date: Apr 2010
Location: Brisbane
Posts: 10,584
Chris,

Glad to hear you got it sorted out. The additional rows & columns usually contain more than overscan. Calibration with overscan regions defined should also remove the extra cruft and just leave the bare image.

Cheers,
Rick.
Reply With Quote
  #10  
Old 08-07-2014, 07:14 PM
Garbz (Chris)
Registered User

Garbz is offline
 
Join Date: May 2012
Location: Brisbane
Posts: 646
Man I love online forums. Came here to find out why registration wasn't working, left here finding I've been stacking images wrong all these years. Turns out if you have an overscan in the frame you need to define it so that Pixinsight will remove the overscan component from the bias frame before creating a bias master. This may be why I had those problems with pixinsight inducing noise when stacking last year which was solved by creating some 100 bias frames...

Thanks a lot Rick
Reply With Quote
  #11  
Old 08-07-2014, 07:27 PM
RickS's Avatar
RickS (Rick)
PI cult recruiter

RickS is offline
 
Join Date: Apr 2010
Location: Brisbane
Posts: 10,584
My pleasure, Chris. We're all still learning
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time is now 03:04 AM.

Powered by vBulletin Version 3.8.7 | Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Advertisement
Bintel
Advertisement