PixInsight Forum
2010 September 07 10:16:34 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to PixInsight Forum
 
   Home   Help Search Login Register  
Pages: 1 2 [3]
  Print  
Author Topic: PixInsight 1.6.1 - New RANSAC fitting rejection algorithm in ImageIntegration  (Read 640 times)
varmint
Journeyman
*
Posts: 30


View Profile WWW
« Reply #30 on: 2010 June 24 22:18:29 »

especially now that I can save individually selected ProcessIcons.

How do you do this?  Copy/paste the code in the History explorer?

Can you save Process Containers?

I tried looking for answers to this last night and couldn't...  I think I ran into a thread from a year ago that said this wasn't available, but I am not sure.

Thanks,

Jim
Logged

Clear Skies,

Jim
--"Do or do not.  There is no Try" --Jedi Master Yoda
georg.viehoever
PixInsight Old Hand
****
Posts: 471



View Profile
« Reply #31 on: 2010 June 26 16:02:31 »

Hi Juan,

Enter linear fit clipping:

...
The remaining question is: is linear fit clipping the best rejection algorithm? I wouldn't say that. Linear fit rejection requires a relatively large set of images to work optimally. With less than 15 images or so its performance may be worse or similar to Winsorized sigma clipping. To reject pixels around a fitted line with low uncertainty, many points are required in order to optimize it in the least average deviation sense. The more images, the better linear fit is possible, and hence the new algorithm will also perform better. It's a matter of testing it and see if it can yield better results than the other rejection algorithms available, for each particular case.
...

I must admit that this method of identifying outliers and the "true value" of a pixel appeared extremely suspicious to me. After all, who says that a distribution without outliers would be well fitted by a linear function after sorting the samples? So I did an experiment with Excel, generating 50 samples with a poisson distribution (as a CCD would do), and adding some polluting signal (a sine) to this that was intended to simulate changing sky conditions such as haze. As can be seen in the attached screenshot or Excel 2007 file, your approach would come close the "true" value of 8000 in both the unpolluted and the polluted case. Quite a surprise for me.

Is there any literature that describes the method? What are known cases where this method produces bad estimates?

Kind regards,
Georg
Logged

Georg
(6 inch Newton, unmodified Canon EOS40D, unguided EQ5 mount)
georg.viehoever
PixInsight Old Hand
****
Posts: 471



View Profile
« Reply #32 on: 2010 June 27 16:23:55 »

Hi,

I did some additional research.


In essence, this image is a Q-Q plot http://en.wikipedia.org/wiki/Q-Q_plot for a uniform distribution http://en.wikipedia.org/wiki/Uniform_distribution_%28continuous%29, i.e. when all values generated by the random process (here: CCD values) are equally likely within a certain range, the plot will be similar to a straight line. For distributions where values at the extremes become less likely (e.g. Poisson or normal distribution), the curve will always look more or less like an inverted S.

Basically, finding "outliers" always means that you have some idea how the data should be distributed, and filtering out those that do niot fit under this assumption. I think for CCD data, assuming a Poisson distribution http://en.wikipedia.org/wiki/Poisson_distribution is a valid approach. So to further refine this approach, it may be a good idea to use a Q-Q plot for a poisson distribution instead of one for a uniform distribution.

Just some ideas, not practically tested....

Georg
Logged

Georg
(6 inch Newton, unmodified Canon EOS40D, unguided EQ5 mount)
Niall Saunders
PixInsight Guru
****
Posts: 945


Taken back in 2007


View Profile
« Reply #33 on: 2010 June 28 00:01:03 »

Quote
Quote from: Niall Saunders on June 24, 2010, 15:08:21
especially now that I can save individually selected ProcessIcons.

How do you do this?  Copy/paste the code in the History explorer?

Can you save Process Containers?

I tried looking for answers to this last night and couldn't...  I think I ran into a thread from a year ago that said this wasn't available, but I am not sure.

Thanks,

Jim

Jim - I am moving the reply to your question into the <Tips and Tricks> section

Have a look at http://pixinsight.com/forum/index.php?topic=2025.0

Cheers,
« Last Edit: 2010 June 28 00:14:06 by Niall Saunders » Logged

Cheers,

Niall Saunders
Clinterty Observatories
Aberdeen, SCOTLAND

LX90 Classic 8"SCT - Homebrew Wedge and Pier
Moonfish ED80 APO Piggybacked - Homebrew 3D Balance
DSI IC, IIC, IIPro+Outback TEC
F'wheel+Meade RGB Filters+Astronomik 13nm Ha
QHY9 due to be ordered - Mono? OSC? Don't know!!
Emanuele
PixInsight Enthusiast
**
Posts: 87


View Profile
« Reply #34 on: 2010 August 14 21:14:51 »

How come I dont have RANSAC Fitting Rejection under ImageIntegration ?

I just have Linear Fit Clipping.....

E.
Logged

Juan Conejero
PTeam Member
PixInsight Jedi Master
******
Posts: 1984



View Profile WWW
« Reply #35 on: 2010 August 15 09:54:27 »

Hi Emanuele,

I decided to drop RANSAC fitting in favor of the new linear fit clipping rejection algorithm. Sorry for the confusion I've generated with this post; I'll add a note to inform about this at the top of the thread.
Logged

Juan Conejero
PixInsight Development Team
http://pixinsight.com/
Emanuele
PixInsight Enthusiast
**
Posts: 87


View Profile
« Reply #36 on: 2010 August 15 12:49:59 »

Oh, no worries juan, thank you fir clarifying that. smile
Logged

Pages: 1 2 [3]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!