Author Topic: CatalogStarGenerator doesn't generate a view/image  (Read 3702 times)

Offline chrisvdberge

  • PixInsight Addict
  • ***
  • Posts: 104
CatalogStarGenerator doesn't generate a view/image
« on: 2015 July 19 06:50:52 »
I feel stupid as I suspect I'm overlooking something really simple here, but I have troubles with the CatalogStarGenerator.
First time I used it, it generated a view successfully, however it was not the way I needed it to be so I closed it and tried again with different settings. Now it just doesn't generate a view anymore.
The script runs, it collects the data and then stops after Loading the objects and stating the 'Calibration saturation flux: OK'

Here is the complete output:
Code: [Select]
run --execute-mode=auto "/Applications/PixInsight/src/scripts/AdP/CatalogStarGenerator.js"

Processing script file: /Applications/PixInsight/src/scripts/AdP/CatalogStarGenerator.js

Downloading Vizier data:
http://vizier.u-strasbg.fr/viz-bin/asu-tsv?-source=I/317&-c=167.881969 -61.363010&-c.r=9.405045&-c.u=deg&-out.form=|&-out.max=200000&-out=PPMXL&-out=RAJ2000&-out=DEJ2000&-out=pmRA&-out=pmDE&-out=Jmag&-out=Hmag&-out=Kmag&-out=b1mag&-out=b2mag&-out=r1mag&-out=r2mag&-out=imag&r1mag=<10
1091113 bytes transferred in 10.13 s @ 105.15 KB/s
Catalog PPMXL size: 5170 objects inside the image

Loaded

Calibrating saturation flux: OK

I tried changing most settings, Bright stars catalog etc. No luck.
What am I doing wrong?

p.s. Yes, I did try to close PI and even rebooted the laptop ;)

Offline CharlesW

  • PixInsight Enthusiast
  • **
  • Posts: 87
Re: CatalogStarGenerator doesn't generate a view/image
« Reply #1 on: 2015 July 19 08:10:18 »
There is an image in this post of all the correct settings. Hopefully that helps.

http://pixinsight.com/forum/index.php?topic=8663.msg56103#msg56103

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: CatalogStarGenerator doesn't generate a view/image
« Reply #2 on: 2015 July 19 09:35:58 »
I don't know what it is happening. Could you send a screen capture of the parameters that you are using?

In any case, please remember that the generated image is lineal so you have to stretch it (i.e. apply an autostretch using STF).

Offline chrisvdberge

  • PixInsight Addict
  • ***
  • Posts: 104
Re: CatalogStarGenerator doesn't generate a view/image
« Reply #3 on: 2015 July 19 15:01:25 »
It doesn't generate an image, so there is nothing to stretch :D

These are the settings (example, I tried different catalogs and limiting magnitudes etc) and the response in the console;
(I lost connection for a moment, that's why you'll see a failed first attempt in the console)




Offline msmythers

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1178
    • astrobin
Re: CatalogStarGenerator doesn't generate a view/image
« Reply #4 on: 2015 July 19 15:36:12 »
It looks like you hit a dimension limit which Andres could speak about. I was able to use 17000x14000 and generate the image. 18000x14000 would not. That is a huge image at 20000x14000


Mike

Offline chrisvdberge

  • PixInsight Addict
  • ***
  • Posts: 104
Re: CatalogStarGenerator doesn't generate a view/image
« Reply #5 on: 2015 July 19 15:57:27 »
Ok thx, I'll try with less.
I'm doing (or trying to process I would say ;))  a mosaic from Carina nebula to running chicken; 6 (3x2) panels with full frame sensor, so yeah, its big ;)
With step-by-step Staralign on 2 images at a time I only get to 2x2. The outer frame is distorted to much then that it can't match the others anymore. That's why I figured the CatalogStarGenerator could be useful


Offline msmythers

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1178
    • astrobin
Re: CatalogStarGenerator doesn't generate a view/image
« Reply #6 on: 2015 July 19 16:06:56 »
You might try using ImageSolver on your originals. Then MosaicByCoordinates on the solved images. Then GradientMergeMosaic to combine. I find this works great for wide field mosaics.



Mike

Offline chrisvdberge

  • PixInsight Addict
  • ***
  • Posts: 104
Re: CatalogStarGenerator doesn't generate a view/image
« Reply #7 on: 2015 July 20 02:20:24 »
Thx, I'll have a look at the MosaicByCoordinates. Didn't know that script yet.

Offline chrisvdberge

  • PixInsight Addict
  • ***
  • Posts: 104
Re: CatalogStarGenerator doesn't generate a view/image
« Reply #8 on: 2015 July 21 03:55:49 »
Just want to confirm that it indeed was a problem with the dimensions. Choosing a lower size made the script generate an image again.
Also, the MosaicByCoordinates did work very well, so I'm using that now to generate the mosaic.
Thx for bringing me one step further! ;)

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: CatalogStarGenerator doesn't generate a view/image
« Reply #9 on: 2015 July 21 09:20:43 »
I have found the problem with CatalogStarGenerator when generating large images. It was an out of memory problem in the Javascript engine.

I have fixed this and now CSG can generate very large images. I have tested it up to 22000x22000 pixels.

Unfortunately I can not publish this version until the next version of PI since the latest version of CSG has changes that depends on PI 1.8.4. For more information please read this threads:
http://pixinsight.com/forum/index.php?topic=8616.0
http://pixinsight.com/forum/index.php?topic=8655.0

Andrés.
« Last Edit: 2015 July 21 11:27:55 by Andres.Pozo »

Offline chrisvdberge

  • PixInsight Addict
  • ***
  • Posts: 104
Re: CatalogStarGenerator doesn't generate a view/image
« Reply #10 on: 2015 July 21 09:45:03 »
Thx a lot Andres, that's very helpfull!