Author Topic: 1.6.1 ImageRegistration: hangs, can not be interrupted  (Read 4379 times)

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com

Hi,

I'm trying to register a downloaded HST image onto an image I took. The HST image covers only the central area of mine. It's sitting here burning up a few cores (fans howling) on iteration 16 but that doesn't seem to finish. Clicking cancel doesn't do anything, presumably because that only gets checked when it comes out of an iteration. So now I have to kill PI which means I have to reproduce it before I can grab a process icon and all that. I'll let you know when I get to that. I do notice that during the RANSAC operation it seems to cycle between using only 1 core or maybe 3. Definitely not all 8.
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: 1.6.1 ImageRegistration: hangs, can not be interrupted
« Reply #1 on: 2010 July 30 19:19:00 »
Oh, it used up 4 GB of RAM. Sweet! Ok, a little excessive :) First time I saw my memory utilization pegged at 97%.
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline Niall Saunders

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1456
  • We have cookies? Where ?
Re: 1.6.1 ImageRegistration: hangs, can not be interrupted
« Reply #2 on: 2010 July 31 01:05:59 »
Time for 8GB?

With your machine's 8 cores (compared to my 4), but with only 4Gb RAM (compared to my 8), I wonder which machine actually ends up 'more capable' in the world of astro-image processing? I suspect that RAM wins - which is good, because RAM upgrades are usually cheap and therefore cost effective.

What are your thoughts?

Cheers,
Cheers,
Niall Saunders
Clinterty Observatories
Aberdeen, UK

Altair Astro GSO 10" f/8 Ritchey Chrétien CF OTA on EQ8 mount with homebrew 3D Balance and Pier
Moonfish ED80 APO & Celestron Omni XLT 120
QHY10 CCD & QHY5L-II Colour
9mm TS-OAG and Meade DSI-IIC

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: 1.6.1 ImageRegistration: hangs, can not be interrupted
« Reply #3 on: 2010 July 31 01:30:42 »
Hey Sander,

Quote
Oh, it used up 4 GB of RAM

What's the size of your images (WxHxN and sample type)? SA doesn't hang; it's just very slow because it needs to do a lot of work on disk swap files. If you'd have the patience to wait (it seems eternal at the beginning, but once Windows organizes its swap file the process speeds up), it would complete the task.

That happens because you're using a 64-bit OS. If you were using a 32-bit OS you'd have had a nice "out of memory" error :) With 4 GB, anything exceeding 2 GB approx. requires disk swapping activity. When you reach the limit of your physical memory, everything becomes extremely slow.

As Niall says, time for an 8 GB upgrade!
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: 1.6.1 ImageRegistration: hangs, can not be interrupted
« Reply #4 on: 2010 July 31 01:46:00 »
Quote
I do notice that during the RANSAC operation it seems to cycle between using only 1 core or maybe 3. Definitely not all 8.

The RANSAC routine actually uses all the cores (with several parallel RANSAC threads, the probability to find the optimal registration model gets multiplied by the number of threads). It is the star matching routine that implements algorithms which cannot be parallelized so efficiently. There are parts that use all the cores but they are so brief that performance monitors interpret them as narrow peaks of partial CPU usage (that's why you're seeing only 3 cores used). The performance monitor on Windows (is it part of the Task Manager if I remember well?) isn't reporting your CPU usage in real time. The same happens with the 'top' command on Linux for example.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: 1.6.1 ImageRegistration: hangs, can not be interrupted
« Reply #5 on: 2010 July 31 09:05:19 »
I have 6 GB, 4 of which was used by PI. The reference image is a 3000x2000 color image, the image to be registered is 3500x3500 mono. To 'help' I flipped and mirrored the image to make it match closer.

Anyway, I tried again. With a preview roughly in the center of the reference image a solution was found in 23 seconds. Without the preview it gave up after 17 iterations but didn't print how long it had taken so I don't know. When I saw the problem before I had unchecked the brightness relations and scale differences checkboxes. That led to far more potential star matches I assume.
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity