Author Topic: Iterative wavelets processing of lunar and planetary images | Uso iterativo de wavelets para imágenes planetarias y lunares  (Read 12332 times)

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Of especial interest to lunar and planetary imagers.

Here is one of a series of tests that demonstrate the power of our wavelet processing tools applied to high-resolution lunar images.

Original image by Vicent Peris:


Processed Image. Eight iterations of ATrousWaveletTransform:


A screenshot showing the applied process:


The results of iterative wavelets processing compete with our regularized deconvolution. See the deconvolution processing example around the same image.

The advantages of iterative wavelets are:

- Wavelets are blazingly fast and easy to use.

- No ringing artifacts, especially when a peaked scaling function is used (in the example, the 3x3 Small Scale (8) standard function). Note that in this example no deringing has been necessary.

- No saturated areas, thanks to the Dynamic Range Extension feature of our implementation.

- A weak wavelet edge enhancement process applied many times (note the low Bias used in this example for the second wavelet layer) is a very controllable procedure that can yield much better results than a single application with aggressive parameters.


======================================================


De especial interés para astrofotógrafos planetarios y lunares.

Aquí os presento un test que demuestra la potencia de nuestras herramientas de wavelets para procesar imágenes lunares de alta resolución.

Imagen original por Vicent Peris:


Imagen procesada. Ocho iteraciones de ATrousWaveletTransform:


Una copia de pantalla que muestra el proceso aplicado:


Los resultados de este proceso iterativo por wavelets compiten con nuestra deconvolución regularizada. Podéis comparar con nuestro ejemplo de deconvolución con esta misma imagen.

Ventajas del proceso iterativo con wavelets:

- Los wavelets son extremadamente rápidos y muy fáciles de usar.

- No se producen artefactos de ringing, especialmente si se utiliza una función de escala de perfil estrecho (en el ejemplo, se ha usado la función estándar 3x3 Small Scale (8)). No ha sido necesario aplicar ningún deringing en este ejemplo.

- No se produce saturación, gracias a la función Dynamic Range Extension de nuestra implementación.

- Un proceso de wavelets suave aplicado muchas veces (ver el bajo valor del parámetro Bias aplicado para la segunda capa de wavelets en este caso) es un procedimiento muy controlable que puede proporcionar resultados mucho mejores que una única aplicación con parámetros agresivos.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Simon Hicks

  • PixInsight Old Hand
  • ****
  • Posts: 333
Hi Juan,
               This looks really impressive and I'm always eager to read the tests and demonstrations that you do and put on the forum.....they are the best way to learn.

I tried this on one of my lunar images, i.e. just by pressing the 'Apply' button 8 times. I note on your screendump you use the 'ProcessContainer' to program it to automatically iterate through the wavelets module 8 times. Should I just keep pressing the 'Apply' button, or is it easy to use the ProcessContainer (if so please point me in the right direction for some guidance), or should I wait until you put an 'Iterations' option on the module?

Please keep the demos, tutorials and examples coming!  :-)

Cheers
             Simon

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Hi Simon,

Thank you. Yes, I plan on adding an Iterations parameter to ATrousWaveletTransform --you catched me :)

For this example I used a ProcessContainer for the sake of simplicity, but of course applying the process eight times does the same thing. The ProcessContainer has the additional advantage that you can undo the eight instances at once.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Simon Hicks

  • PixInsight Old Hand
  • ****
  • Posts: 333
Hi Juan,
               Yes I guessed you could do the undo in a single go if you used the ProcessContainer....which seems like a really big advantage. So how do I use the ProcessContainer? I could open the ProcessContainer from the Process|<Etc> menu, but then I had no idea how to use it. Is there any info/help on it anywhere?

Cheers
             Simon

Offline David Serrano

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 503
Just drag and drop other processes over the window, and you'll see them added to the list. You can rearrange and deactivate them once they are in the container.

The interface has a "New instance" icon (the blue triangle) that can be used as any other process: drag it over an image, or create an icon in the desktop area.

You can even drag a ProcessContainer into another one, to create a kind of "folder" so that processes can be logically grouped.
--
 David Serrano

Offline Simon Hicks

  • PixInsight Old Hand
  • ****
  • Posts: 333
Hi David,
                Many thanks for the info. I had never quite understood what the blue triangle did or how to use it....now I have a better idea...and I will play with it till I've got it mastered.

I am sure you guys are rushed off your feet getting the commercial version ready....and the advanced tutorials and examples are really excellent....but it would be really handy to have a basic help file that would explain all these really basic, but powerful, things in the program. You should come and live in Scotland...you will have very few clear nights so plenty of time for programming!!!  :lol:

But many thanks again for the help.

Cheers
              Simon

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Hi Simon,

I have prepared a small tutorial on process containers and process icons to help you and others understand how these important things work in PixInsight.

To create a new process container, open the ProcessContainer interface from the Process Explorer window. Then you can simply drag existing process icons to add them to the process container:





You can create a process icon with the process container instance that you have defined in the usual way. Click on the New Instance icon of ProcessContainer (the small triangular button) and drag it to the workspace:



Once you have created a new icon, you can rename it by clicking on its tiny Rename button (or from the icon context menu by right-clicking on the icon):





You can also edit the instance information associated with the icon:











Once you have defined the instance information, it can be viewed by clicking the icon's View Info button. Note that this button changes to red color when there is some information defined for the icon.



You can drag other process icons to ProcessContainer to add them to the existing set of instances. When you drop the icon, a copy of its instance is inserted below the drop target:





You can also move instances in ProcessContainer. This allows you to reorder the set of instances:





By dragging the New Instance button to an existing process icon, you can replace it with the current instance of ProcessContainer. This operation cannot be undone (a dialog box opens to request confirmation):



Finally, you can drag an existing ProcessContainer icon to the ProcessContainer interface's control bar to replace the current set of processes:





Hope this helps.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Quote from: "simonhicks"
it would be really handy to have a basic help file that would explain all these really basic, but powerful, things in the program.


Of course. A basic documentation is being authored for the core PixInsight application now, and will be available during the next weeks. Hopefully we'll have this work completed in February.

Yes, we are absolutely overwhelmed by the mountain of work required to finish the commercial application (and all related things) as soon as possible. It will be ready to sell in less than a week (this is an official announcement  :lol: ).

Thank you for your patience with us.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Simon Hicks

  • PixInsight Old Hand
  • ****
  • Posts: 333
Juan,
          Wow!  :shock:   This is much more help than I had even hoped for!!! Many thanks for the pictorial explaination....a picture says a thousand words etc....this is really clear now.

Thanks again!

Cheers
              Simon

Offline Procy

  • Newcomer
  • Posts: 16
    • http://www.flickr.com/photos/procy/
Of especial interest to lunar and planetary imagers.

Una copia de pantalla que muestra el proceso aplicado:


El enlace parece roto...
Sería mucha molestia pedirte que la subieras otra vez???

Offline h0ughy

  • PixInsight Addict
  • ***
  • Posts: 226
great information Juan, but on my PC it is showing up as having some of the image files missing with invalid image ID in your post.  are there broken links?
Doghouse Observatory