Jump to content

  •  

CNers have asked about a donation box for Cloudy Nights over the years, so here you go. Donation is not required by any means, so please enjoy your stay.

Photo

Realtime image registration/stack (17 frames/sec)

  • Please log in to reply
40 replies to this topic

#26 NickK-UK

NickK-UK

    Ranger 4

  • -----
  • topic starter
  • Posts: 300
  • Joined: 28 Jul 2012
  • Loc: UK

Posted 26 July 2014 - 05:55 PM

I've started work on non-bilinear interpolation - this is using lancosz interpolation - still need to debug a little but it's showing some severe potential :D

Attached Thumbnails

  • 6654134-cropped-lansz.png


#27 NickK-UK

NickK-UK

    Ranger 4

  • -----
  • topic starter
  • Posts: 300
  • Joined: 28 Jul 2012
  • Loc: UK

Posted 27 July 2014 - 05:15 AM

I've fixed the lanczos sampling :)

Attached Thumbnails

  • 6654686-Screen Shot 2014-07-27 at 11.10.54.png

  • jsardina likes this

#28 NickK-UK

NickK-UK

    Ranger 4

  • -----
  • topic starter
  • Posts: 300
  • Joined: 28 Jul 2012
  • Loc: UK

Posted 27 July 2014 - 05:36 AM

A Lunar example:

Attached Thumbnails

  • 6654700-pi-crop-Screen_Shot_2014_07_27_at_09_36_25_Preview01.png

  • jsardina likes this

#29 mclewis1

mclewis1

    Thread Killer

  • *****
  • Posts: 13929
  • Joined: 25 Feb 2006
  • Loc: New Brunswick, Canada

Posted 27 July 2014 - 10:21 AM

That's looking really nice Nick.

#30 Relativist

Relativist

    Fly Me to the Moon

  • *****
  • Moderators
  • Posts: 6486
  • Joined: 11 Oct 2003
  • Loc: OC, CA, USA

Posted 30 July 2014 - 06:50 PM

Nick, that's looking good! By the way here's an article describing a similar development, but it was focused on achieving high dynamic range.

http://www.vision-sy...partments/te...

#31 NickK-UK

NickK-UK

    Ranger 4

  • -----
  • topic starter
  • Posts: 300
  • Joined: 28 Jul 2012
  • Loc: UK

Posted 31 July 2014 - 12:34 AM

Nice idea - setting a range of exposure times, then having the camera perform automatic HDR. That would be relatively straightforward to implement initially.

Their GPU has three times the GPU cores I'm using too! The quadro has 1536 cores vs my AMD's 490 and it also has full PCI-E bandwidth, the apple GPU integration only has a couple of PCI-E express channels!

I've been doing some work on the Lanczos - specifically around upscaling into images as little as 60x60 pixels in association drizzling. I'll need to re-optimise after but it's still going fast enough :)

#32 NickK-UK

NickK-UK

    Ranger 4

  • -----
  • topic starter
  • Posts: 300
  • Joined: 28 Jul 2012
  • Loc: UK

Posted 10 August 2014 - 12:26 PM

I've been dogfooding today - plenty of thoughts and ideas, however the testing of the focusing seems to be doing a good job. The green dots are the frame quality, the band of green marks the band between highest and lowest grades. Bottom is 0%, top being 100% fine detail - so in theory it will never get there :)

 

This was shot through the conservatory roof - the weather outside was very bad this morning and is still exceptionally windy (UK had national weather warning for heavy rain and winds!):

 

Screen_Shot_2014_08_10_at_14_40_58_Preview01.png

 

I have a couple more ideas on this - such as exposure adjustment to maximise detail - also I like the HDR idea however for now I need to get some heavy testing done as it works but not completely to my satisfaction (I had difficult conditions with clouds!).

 

Cropped screenshot - showing higher quality grading during a downpour (this was through the rain soaked conservatory window) - the titan is only 659x495 pixels:

 

Screen_Shot_2014_08_10_at_10_59_08_Preview011.png

 

Not bad.. so I may add gradient histograph too - but for now.. that works. Time to look at the app and get things tested to destruction  - just waiting for the sun set - it's meant to be clear tonight :D



#33 NickK-UK

NickK-UK

    Ranger 4

  • -----
  • topic starter
  • Posts: 300
  • Joined: 28 Jul 2012
  • Loc: UK

Posted 23 January 2015 - 07:09 AM

I thought I'd give an update on this.

 

I have continued to work on this in the background, including porting the pipeline to OpenCL rather than Apple's own form of it.

 

So far the realtime pipeline supports:

* Rotation & Translational alignment using FFTs - this works for DSO, planets, lunar and solar.

* Stacking

* Drizzle stacking with upsizing and optional regional selection

* Focusing using image sharpness rather than FHWM (as above)

* Darks/Flat bias subtraction

* Lucy Richardson deconvolution using 2D PSF by FFT

* Lucy Richardson deconvolution using symmetrical 2D PSF by IIR - the system curve fits the impulse required. It's stupidly quick.

* Histogram stretches

* OpenGL rendering

 

I started LR non-symetrical 2D IIR research, however I think the complex maths will result in a non-realtime. At this point my MBP's GPU failed (it's one of the 2011 15" MBPs that is known to have a problem.. yet another Apple GPU-gate) and leaving me with no OpenCL 1.1+ capable machine... as I was then made redundant once I get a new job.. I'll get a new machine with a GPU that will allow me to continue..

 

Here's testing of the LR IIR deconvolution using a generated 2D PSF. Deconvolution/Convolution with unoptimised code in GPU for the lenna test picture below takes 47 microseconds. (i.e. 47x10E-6 = 0.00047 seconds). In the picture - left is deconvoluted, middle original, and right convoluted (i.e. using the same process but inverse of sharpening).

Attached Thumbnails

  • post-9952-0-48582200-1418565420.png

Edited by NickK-UK, 23 January 2015 - 07:10 AM.

  • Relativist likes this

#34 James Cunningham

James Cunningham

    Soyuz

  • *****
  • Posts: 3582
  • Joined: 07 Aug 2010
  • Loc: Maryland

Posted 26 January 2015 - 08:58 AM

So, when do you think you are going to release the software? Thanks
Jim

#35 NickK-UK

NickK-UK

    Ranger 4

  • -----
  • topic starter
  • Posts: 300
  • Joined: 28 Jul 2012
  • Loc: UK

Posted 26 January 2015 - 11:57 AM

So, when do you think you are going to release the software? Thanks
Jim

 

It's going to be a little while - complications regarding a dead MBP GPU (apple's design fault - not mine!). Once I can afford to replace the MBP (a new job) then it should be all guns going!



#36 Live_Steam_Mad

Live_Steam_Mad

    Viking 1

  • -----
  • Posts: 819
  • Joined: 24 Jul 2007
  • Loc: Moss Bank, St.Helens, England 53° 28' 35.18" N, 2° 44' 08.86" W, Bortle 7, ZLM 4.8

Posted 20 April 2016 - 04:02 PM

 

So, when do you think you are going to release the software? Thanks
Jim

 

It's going to be a little while - complications regarding a dead MBP GPU (apple's design fault - not mine!). Once I can afford to replace the MBP (a new job) then it should be all guns going!

 

 

I am another interested user of live camera views of planets and Registax 6, I'd also like to see real time align + stack + wavelets sharpening. At the moment I can do this using a Canon EOS 1100D / T3 and Registax 6, but not in real time.

 

Regards,

 

Alistair G.



#37 Censustaker

Censustaker

    Viking 1

  • *****
  • Posts: 997
  • Joined: 26 Mar 2014
  • Loc: Corona, CA

Posted 21 April 2016 - 11:30 AM

Wow! exciting!



#38 Relativist

Relativist

    Fly Me to the Moon

  • *****
  • Moderators
  • Posts: 6486
  • Joined: 11 Oct 2003
  • Loc: OC, CA, USA

Posted 21 April 2016 - 03:25 PM

Exciting and long dead, why was this resurrected, any news from the OP Alistair? Last I had PMed him he still hadn't been able to work around the gpu issue.

#39 Censustaker

Censustaker

    Viking 1

  • *****
  • Posts: 997
  • Joined: 26 Mar 2014
  • Loc: Corona, CA

Posted 21 April 2016 - 04:49 PM

Darn, i shoulda looked at the dates!

 

 

I've recently started to look into how do the registration part myself, the first step, for me, was to build an app to extract star images from my collection of EAA images so i could figure out an algorithm to find them in an image.

 

The images i've extracted are here (2000+ star images): https://github.com/jonphilpott/stars

The ghetto app that I wrote to extract them by loading all the images recursively in a folder and clicking on them is here: https://github.com/j...pott/StarPicker



#40 Live_Steam_Mad

Live_Steam_Mad

    Viking 1

  • -----
  • Posts: 819
  • Joined: 24 Jul 2007
  • Loc: Moss Bank, St.Helens, England 53° 28' 35.18" N, 2° 44' 08.86" W, Bortle 7, ZLM 4.8

Posted 21 April 2016 - 07:25 PM

Exciting and long dead, why was this resurrected, any news from the OP Alistair? Last I had PMed him he still hadn't been able to work around the gpu issue.

 

I don't appologise for expressing an interest in real time aligning and stacking of planets. Topic was not archived yet. Not the faintest idea what the OP is doing. But the guy's got programming skills and I was merely offering encouragement.

 

Maybe one day Registax will be able to do this live, in which case problem is solved completely then as far as I am concerned. But until then I will keep looking out for something equivalent. Oh and it'll probably need the later Core i7 to actually make it possible...

 

Alistair G.



#41 Relativist

Relativist

    Fly Me to the Moon

  • *****
  • Moderators
  • Posts: 6486
  • Joined: 11 Oct 2003
  • Loc: OC, CA, USA

Posted 21 April 2016 - 07:26 PM

Maybe you can contact him too, I'm sure more encouragement would help!

P.S. If he were local I would have offered up a video card myself...

I agree, no need to apologize, just hoping you knew something positive.


CNers have asked about a donation box for Cloudy Nights over the years, so here you go. Donation is not required by any means, so please enjoy your stay.







Cloudy Nights LLC
Cloudy Nights Sponsor: Astronomics