Author Topic: Atrous Wavelet transform or HDR wavelet transform  (Read 7158 times)

Offline Jules

  • PixInsight Guru
  • ****
  • Posts: 513
Atrous Wavelet transform or HDR wavelet transform
« on: 2011 July 25 11:30:00 »
Hi

I understand the wavelet in the sense of layers of increasing structure size. I use HDR frequently but I would like to understand more about the differences between Atrous and HDR. Do they carry out the same alterations but using different algorithms?

Or am I being a bit thick?

Regards

Julian
« Last Edit: 2011 July 25 13:11:53 by Jules »

Offline Philip de Louraille

  • PixInsight Addict
  • ***
  • Posts: 289
Re: Atrous Wavelet transform or HDR wavelet transform
« Reply #1 on: 2011 July 25 14:59:43 »
One is used more to eliminate noise and "sharpen" features (HDRW) , the other to *isolate* structures of certain pixel sizes (À trous...) At least, this is how I use them.
Philip de Louraille

Offline sleshin

  • PixInsight Old Hand
  • ****
  • Posts: 431
Re: Atrous Wavelet transform or HDR wavelet transform
« Reply #2 on: 2011 July 25 17:29:56 »
These two tools, ATW and HDRW, reflect PI's core paradigm, a multiscaled approach to astrophoto image processing. With the ATW tool you can enhance/sharpen structures by increasing Bias or you can deemphasize/blur structures by decreasing Bias. Another important function addressed with this tool is noise reduction as was elegantly explained by Juan in a recent post. Each of these effects can be applied to structures of various scale depending on which layer/layers one chooses to work on. The HDRW tool compresses the dynamic range but rather than compressing the range of the whole image it allows one more control by letting us choose which layers are included in the compression. This of course can serve to reveal small scale structures that were otherwise hidden which because of the resulting enhanced contrast certainly makes the image seem sharper. But I don't think HDRW is a sharpening tool per-say.

This is my meager and oversimplified understanding of these two tools. I may well be way off base and if so hopefully others will chime in with comments.

Steve
Steve Leshin

Stargazer Observatory
Sedona, Arizona

Offline Jules

  • PixInsight Guru
  • ****
  • Posts: 513
Re: Atrous Wavelet transform or HDR wavelet transform
« Reply #3 on: 2011 July 25 23:27:47 »
One is used more to eliminate noise and "sharpen" features (HDRW) , the other to *isolate* structures of certain pixel sizes (À trous...) At least, this is how I use them.
Philip

Thank you for your reply. The confusing thing with Atrous for me is the fact (as I understand it) that you can noise reduce each layer/ wavelet.

Why would you want to do that to individual layers? Isn't noise a function of the whole image rather than individual layers?

Offline Jules

  • PixInsight Guru
  • ****
  • Posts: 513
Re: Atrous Wavelet transform or HDR wavelet transform
« Reply #4 on: 2011 July 25 23:34:51 »
Steve

It is always very informative when you reply to one of my posts, thanks!

When would I want to use Atrous instead of HDR?

I use ACDNR for noise reduction after an applying HDR after a histogram transformation. Then I read that Atrous is a more sophisticated version of ACDNR and should be used in the linear phase?

Regards

Julian

Offline zvrastil

  • PixInsight Addict
  • ***
  • Posts: 179
    • Astrophotography
Re: Atrous Wavelet transform or HDR wavelet transform
« Reply #5 on: 2011 July 26 06:19:51 »
Hi Julian,

noise has scale as well as the rest of the image. Typically, noise is small-scale so it appears only in first few layers. Try to make a small preview, taking only background. Then, apply ExtractWaveletLayers script to it. I will create several new images, one for each layer. You'll see lot of noise in layers 1 and 2 and less and less in higher layers. The beauty of using ATWT for noise reduction is, that you can control the amount of noise reduction per layer. Most astronomical images are oversampled (your camera has better resolution than your lens) and there's little information in layer 1 and 2. So, you can apply strong and aggressive noise reduction parameters to these layers and less aggressive noise reduction to higher layers to protect image structures.

regards, Zbynek

Offline Jules

  • PixInsight Guru
  • ****
  • Posts: 513
Re: Atrous Wavelet transform or HDR wavelet transform
« Reply #6 on: 2011 July 26 06:54:27 »
Hi Julian,

noise has scale as well as the rest of the image. Typically, noise is small-scale so it appears only in first few layers. Try to make a small preview, taking only background. Then, apply ExtractWaveletLayers script to it. I will create several new images, one for each layer. You'll see lot of noise in layers 1 and 2 and less and less in higher layers. The beauty of using ATWT for noise reduction is, that you can control the amount of noise reduction per layer. Most astronomical images are oversampled (your camera has better resolution than your lens) and there's little information in layer 1 and 2. So, you can apply strong and aggressive noise reduction parameters to these layers and less aggressive noise reduction to higher layers to protect image structures.


regards, Zbynek
Hi Zbynek

That is very well explained, thank you. I shall try out what you have described above.

Regards

Julian

Offline sleshin

  • PixInsight Old Hand
  • ****
  • Posts: 431
Re: Atrous Wavelet transform or HDR wavelet transform
« Reply #7 on: 2011 July 26 11:28:44 »
Julian,

In case you missed it, here is Juan's excellent tutorial on using ATW for noise reduction.

http://pixinsight.com/forum/index.php?topic=3184.msg21961#msg21961

Steve
Steve Leshin

Stargazer Observatory
Sedona, Arizona

Offline Jules

  • PixInsight Guru
  • ****
  • Posts: 513
Re: Atrous Wavelet transform or HDR wavelet transform
« Reply #8 on: 2011 July 26 11:38:33 »
Steve

Thanks I will have a look at that.

Regards

Julian

Offline Jules

  • PixInsight Guru
  • ****
  • Posts: 513
Re: Atrous Wavelet transform or HDR wavelet transform
« Reply #9 on: 2011 July 28 15:47:38 »
Hi Julian,

noise has scale as well as the rest of the image. Typically, noise is small-scale so it appears only in first few layers. Try to make a small preview, taking only background. Then, apply ExtractWaveletLayers script to it. I will create several new images, one for each layer. You'll see lot of noise in layers 1 and 2 and less and less in higher layers. The beauty of using ATWT for noise reduction is, that you can control the amount of noise reduction per layer. Most astronomical images are oversampled (your camera has better resolution than your lens) and there's little information in layer 1 and 2. So, you can apply strong and aggressive noise reduction parameters to these layers and less aggressive noise reduction to higher layers to protect image structures.

regards, Zbynek
Zbynek

Thats a very useful script, it produces a  layer 0 which does contain some small detail though. I have noticed with this script and the ATWT there is a residual layer. Is this everything not in the previous layers?

Regards

Julian

Offline Jules

  • PixInsight Guru
  • ****
  • Posts: 513
Re: Atrous Wavelet transform or HDR wavelet transform
« Reply #10 on: 2011 July 28 16:19:15 »
Julian,

In case you missed it, here is Juan's excellent tutorial on using ATW for noise reduction.

http://pixinsight.com/forum/index.php?topic=3184.msg21961#msg21961

Steve

Steve

I have just worked through my own data using this tutorial, I was astounded with the results.

Regards

Julian

Offline zvrastil

  • PixInsight Addict
  • ***
  • Posts: 179
    • Astrophotography
Re: Atrous Wavelet transform or HDR wavelet transform
« Reply #11 on: 2011 July 29 00:34:27 »
Thats a very useful script, it produces a  layer 0 which does contain some small detail though. I have noticed with this script and the ATWT there is a residual layer. Is this everything not in the previous layers?

Hi Julian,

yes, there's almost always some information even in layer 0, but still the noise reduction here can be much stronger. Residual layer indeed contains what is not in extracted layers. In ATWT, this layer is denoted R. You can thinkof it like sum of all higher layers up to infinity (or size of the image). This layer is necessary to perform inverse transformation (from wavelet layers back to image).

Zbynek

Offline Jules

  • PixInsight Guru
  • ****
  • Posts: 513
Re: Atrous Wavelet transform or HDR wavelet transform
« Reply #12 on: 2011 July 29 02:05:50 »
Zbynek

I reworked though some of my images using ATWT and the results were impressive. Thank you for spending the time!

Regards

Julian