Author Topic: Gradient Domain Operations, take 6  (Read 28214 times)

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: Gradient Domain Operations, take 6
« Reply #15 on: 2011 August 15 23:35:19 »
Wow  8)!
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Gradient Domain Operations, take 6
« Reply #16 on: 2011 August 16 00:57:20 »
Quote
http://www.harrysastroshed.com/Mosaic.html

Terrific! :)

Do you mind if I send an email to all PI users announcing this video?

Georg: time to integrate this with StarAlignment? Unless you have something new or something important to change in the current module, I'm going to start revising the code.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: Gradient Domain Operations, take 6
« Reply #17 on: 2011 August 16 01:15:32 »
Hi Juan,

I am currently very busy, so no progress with the integration, and no progress expected in the next few weeks. Go ahead with any changes you would like to make.

From a functional point of view, I have the following in my wishlist:
- Integration with StarAlignment
- I think that even after integration with StarAlignment, we should still offer a separate GradientMergeMosaic process for those that obtain aligned images by other means (e.g. via astrometry.net or DynamicAlignment)
- Offer a selection of views in addition to a list of files - just what Harry described and which already is offered by StarAlignment.

Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1458
    • http://www.harrysastroshed.com
Re: Gradient Domain Operations, take 6
« Reply #18 on: 2011 August 16 03:04:38 »
Hi

Of course you can announce the video as you see fit  ;D and I will redo it when you have integrated it all together

Again many thanks to george for his excellent work

Harry
Harry Page

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: Gradient Domain Operations, take 6
« Reply #19 on: 2011 August 16 03:35:06 »
...Again many thanks to george for his excellent work

There are many more that contributed to this work. Here are the "credits" as I put them into the code:
Code: [Select]
  Process_Label.SetToolTip("(c) 2011 Georg Viehoever, published unter LGPL 2.1. "
    "With important contributions in terms of tests, test data, code and ideas "
    "by Juan Conejero, Carlos Milovic, Harry Page, David Raphael, Geert Vanhauwaert, zvrastil, and others.");

Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline h0ughy

  • PixInsight Addict
  • ***
  • Posts: 226
Re: Gradient Domain Operations, take 6
« Reply #20 on: 2011 August 17 04:11:54 »
fantastic work guys, however i found a bug, it doesnt like different sized images form the same camera (cropped the stacked images)
Doghouse Observatory

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: Gradient Domain Operations, take 6
« Reply #21 on: 2011 August 17 04:24:06 »
Hi,

after doing StarAlignment as shown in Harry's video, you should end up with identically sized images.

The code explicitly checks that images are the same size. It is not clear to me how the tool should handle differently sized images: At which position of image 1 should image 2 appear? Or should one of them be rescaled? Which one? For the moment, I would prefer to stick with equally sized images (just as ImageIntegration does).

Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline h0ughy

  • PixInsight Addict
  • ***
  • Posts: 226
Re: Gradient Domain Operations, take 6
« Reply #22 on: 2011 August 17 04:49:17 »
Hi,

after doing StarAlignment as shown in Harry's video, you should end up with identically sized images.

The code explicitly checks that images are the same size. It is not clear to me how the tool should handle differently sized images: At which position of image 1 should image 2 appear? Or should one of them be rescaled? Which one? For the moment, I would prefer to stick with equally sized images (just as ImageIntegration does).

Georg
to be fair i havent watched the video yet, but i did assume it would be similar to doing a mosaic the old way where the orientation or size isnt that a problem.
Doghouse Observatory

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: Gradient Domain Operations, take 6
« Reply #23 on: 2011 August 17 04:54:34 »
to be fair i havent watched the video yet, but i did assume it would be similar to doing a mosaic the old way where the orientation or size isnt that a problem.

With this version of the tool, GradientMergeMosaic leaves the task of finding the correct positions for the mosaic tiles to the PI StarAlignment tool. The aligned tiles can then be merged using GradientMergeMosaic. Harry's video (and the online documentation, try the help button on the bottom right of the GUI) should be helpful to understand the workflow.

Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline h0ughy

  • PixInsight Addict
  • ***
  • Posts: 226
Re: Gradient Domain Operations, take 6
« Reply #24 on: 2011 August 17 04:59:25 »
to be fair i havent watched the video yet, but i did assume it would be similar to doing a mosaic the old way where the orientation or size isnt that a problem.

With this version of the tool, GradientMergeMosaic leaves the task of finding the correct positions for the mosaic tiles to the PI StarAlignment tool. The aligned tiles can then be merged using GradientMergeMosaic. Harry's video (and the online documentation, try the help button on the bottom right of the GUI) should be helpful to understand the workflow.

Georg
thanks Georg, will read up fully
Doghouse Observatory

Offline David

  • Newcomer
  • Posts: 15
Re: Gradient Domain Operations, take 6
« Reply #25 on: 2011 August 17 09:22:29 »
wow!!! gracias gracias gracias!!!
parece que sabian que tenia que usar esta herramienta.
un gran trabajo que debemos agradecer los usuarios, gracias. en mi primer mosaico problemas, ahora solucionado.

solo reportar, que en 3 imagenes de DSLR hubo fallo al unir la tercera "out of memory".
es fallo de 32 BITS de sistema? solucionaré trabajando en 64 bits? mi mujer tiene uno, podria unir con ese PC y luego retornar al mio.

para hacer la prueba, reducí resolucion al 50% y unió bien

-----------------------
(Bad google-translate)

wow! thans thanks thanks!
think they knew I had to use this tool.
a great job , thanks. in my first mosaic problems, now resolved.

single a report, which was 3 DSLR, images failed to unite the third "out of memory".
failure is 32-bit system? trick working in 64 bits? my wife has one that could unite in that PC and then back to mine.

to test, reduced to 50% resolution and join.

can give me solution to "out of memory" into three images? Work bits?



my job thanks to you, I'm new at this and am very happy

http://imageshack.us/f/808/mosaicop1.jpg/

Thaaaanks!!!

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: Gradient Domain Operations, take 6
« Reply #26 on: 2011 August 17 09:34:14 »
Thanks for your kind words!

Working on a 64 bit OS is certainly recommended for PI. You will see this again and again if you search the forum for "64 bits" or memory problems. I mostly work on Win7-x64 with 4 GBytes RAM. Same machine had lots of memory trouble with Vista-x86 (32 bits).

Georg
 
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: Gradient Domain Operations, take 6
« Reply #27 on: 2011 September 12 13:16:19 »
Hi,

Rogelio noted in http://pixinsight.com/forum/index.php?topic=3283.msg23368#msg23368 some strange artefacts ("a couple of those funny dark-looking "smudges"" using the words of Rogelio) at the margins of two merged images. An analysis revealed that GradientMergeMosaic sometimes produces artefacts when part of the images coincides with the border, while the other parts are only a few pixels away from the border. Such situations occur for instance if StarAlignment applies a small rotation to one of the aligned images. An example is shown on the left hand side of the attached screen shot. Large rotations appear to be no problem.

Workaround: Add a black 1 pixel border to all images that you feed to GradientMergeMosaic. This can be done using the Crop process, see right hand side of the screenshot.

Future versions of GradientMergeMosaic will be enhanced to do this automatically.

Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline Ginge

  • PixInsight Addict
  • ***
  • Posts: 215
Re: Gradient Domain Operations, take 6
« Reply #28 on: 2011 September 25 14:44:05 »
A great module! I just started using it and the seams are really nice. I do experience the same smudging-issues though and look forward to the update. There are no "feather radius" nor "shrink radius" parameters in the version I've downloaded from the repository though (mac-version). Is the mac-version up to speed?

Ginge

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: Gradient Domain Operations, take 6
« Reply #29 on: 2011 September 25 15:25:10 »
The mac version should behave just like the others. Can you provide a screenshot of what you see.

Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)