[size=200][url=https://www.startools.org/modules/denoise/usage/]Usage[/url][/size] Denoising starts when switching Tracking off. It is therefore the last step in your workflow, and for good reason; being the last step, Tracking has had the longest possible time to track and analyse noise propagation. [size=175][url=https://www.startools.org/modules/denoise/usage/setup]Setup[/url][/size] [img]http://d2kvhj8ixnchwb.cloudfront.net/startools-prod-kfsrescdn/modules/denoise/usage/setup/07910143-bed9-4697-8f9b-91fc75529821.jpg.deed562a92bb9e1b41828b7c27931e64[/img] ^ StarTools is the only software solution for astrophotography that can target walking noise. The first stage of noise reduction involves helping StarTools establish a baseline for visual noise grain and the presence (and direction) of walking noise. To establish this baseline, increase the '[b]Grain size[/b]' parameter until no noise grain of any size can be seen any longer. StarTools will use this baseline as a guide as to what range of details in your image is affected by visible noise. If walking noise is present, then temporarily set '[b]Grain Size[/b]' parameter to 1.0. Next, use the '[b]Walking Noise Angle[/b]' level setter, or click & drag an imaginary line on the image in the direction of the walking noise to set the '[b]Walking Noise Angle[/b]' that way. Now increase the '[b]Walking Noise Size[/b]' parameter until individual streaks are no longer visible in the direction you detected them in (though other imperfections may still be visible). After that, increase the 'Grain Size' parameter until other noise grain can no longer be seen. After clicking 'Next', analysis and wavelet scale extraction starts, upon which, after a short while, the second interactive noise reduction stage interface is presented. [size=175][url=https://www.startools.org/modules/denoise/usage/main-interface]Main operation[/url][/size] Noise reduction and grain shaping is performed in three stages. [size=150][url=https://www.startools.org/modules/denoise/usage/main-interface/stage-one]Stage one[/url][/size] The first-pass algorithm is an enhanced wavelet denoiser, meaning that it is able to attenuate features based on their size. Noise grain caused by shot noise (aka Poisson noise) - the bulk of the noise astrophotographers deal with - exists on all size levels, becoming less noticeable as the size increases. Therefore, much like the Sharp module, a number of scale sizes ('[b]Scale [i]n[/i][/b]' parameters) are available to tweak, allowing the denoiser to be more or less aggressive when removing features deemed noise grain at different sizes. Tweaks to these scale parameters are generally not necessary, but may be desirable if - for whatever reason - noise is not uniform and is more prevalent in a particular scale. Different to basic wavelet denoising implementations, the algorithm is driven by the per-pixel signal (and its noise component) evolution statistics collected during the preceding image processing. E.g. rather than using a single global setting for all pixels in the image, StarTools' implementation uses a different setting (yet centred around a user-specified global setting) [i]for every pixel[/i] in the image. The wavelet denoising algorithm is further enhanced by a '[b]Scale Correlation[/b]' feature parameter, which exploits common psychovisual techniques, whereby noise grain is generally tolerated better in areas of increased (correlated) detail. The general strength of the noise reduction by the wavelet denoiser, is governed by the '[b]Brightness Detail Loss[/b]' and '[b]Color Detail Loss[/b]' for luminance (detail) and chrominance (colour) respectively. The noise reduction solution in StarTools is based wholly around energy removal - that is attenuation of the signal and its noise components in different bands in the frequency domain - and avoids any operations that may [i]add[/i] energy. It does not enhance edges, does not manipulate gradients, and does not attempt to reconstruct detail. These important attributes make its use generally permissible for academic and scientific purposes; it should never suggest details or features that were never recorded in the first place. [size=150][url=https://www.startools.org/modules/denoise/usage/main-interface/stage-two]Stage two[/url][/size] Any removed energy, is collected per pixel and re-distributed across the image in a second pass, giving the user intuitive control, via the '[b]Grain Dispersion[/b]' parameter, over a hard upper size limit beyond which grain is no longer smoothed out. [size=150][url=https://www.startools.org/modules/denoise/usage/main-interface/stage-three]Stage three[/url][/size] [img]http://d2kvhj8ixnchwb.cloudfront.net/startools-prod-kfsrescdn/modules/denoise/usage/main-interface/stage-three/2177b267-f48e-4841-abd3-12f947b4b608.jpg.868fe8fbf75cef0e0d183b3bd99c4338[/img] ^ Left: input image. Middle: Denoised image without Grain Equalization. Right: Denoised image with Grain Equalization. Notice the vast differences in noise grain prevalence independent of brightness, and notice subtle pre-existing noise grain has been re-introduced in an unobtrusive and visually pleasing manner. The '[b]Grain Equalization[/b]' parameter lets the user [i]reintroduce[/i] removed noise grain in a modified, [i]uniform[/i] way, that is; appearing of equal magnitude across the image (rather than being highly dependent per-pixel signal strength, stretches and local enhancements as seen in the input image). The '[b]Grain Equalization[/b]' feature an acknowledgement of the "two schools" of noise reduction prevalent in astrophotography; there are those who like smooth images with little to no noise grain visible, and there are those who find a tightly controlled, uniform measure of noise grain desirable for the purpose of creating visual interest and general aesthetics (much like noise grain is added for a "filmic" look in CGI). The noise signature of the deliberately left-in noise, is precisely shaped to be aesthetically pleasing for precisely this purpose. Lastly, it should be noted that the '[b]Grain Equalization[/b]' feature only shapes and re-introduces noise in the luminance portion of the signal, but not in the chrominance (color) portion of the signal. [size=175][url=https://www.startools.org/modules/denoise/usage/evaluating-the-result]Evaluating the result[/url][/size] [img]http://d2kvhj8ixnchwb.cloudfront.net/startools-prod-kfsrescdn/modules/denoise/usage/evaluating-the-result/77df8b2f-684b-4f07-892f-0c71b4a4a3ef.jpg.1a76c3283c4aaa1b1274ebb2f860c1f6[/img] ^ Top left: noisy image at 100% zoom. Top right: denoised image at 100%, with grain shaped into quantization error diffusion to retain more detail, even though the image appears to be denoised. Bottom: a 300% zoom of the top right image, revealing the shaped grain. Given StarTools' general design goal of exploiting psychovisual limitations of the human visual system, there are some important things to take note of when evaluating the result. Specifically, the module exploits "useful" noise grain (by modelling it as quantization error in the signal) to retain and convey more detail in areas that are too "busy" for the human visual system to notice, without the result [i]appearing[/i] noisier. The actual "useful" noise grain, [url=https://en.wikipedia.org/wiki/Dither]much like dithering[/url], however may be visible when zoomed in at scales beyond 100%. The value of the module's ability to shape noise grain in this way, becomes particularly apparent when combining this ability with the output of StarTools' deconvolution module. The latter module can be "overdriven" to trade increased detail for increased (though perceptually equalised) fine grain noise "artifacts". The magnitude of the noise grain is subsequently recovered, modeled and shaped for use as quantization error diffusion in the final denoised image. Of course, if so desired, using more aggressive parameter settings will progressively eliminate such quantization error diffusion, and yield a smooth image.