[size=200][url=https://www.startools.org/modules/magic/]Shrink: Star Appearance Manipulation[/url][/size] [img]https://d2kvhj8ixnchwb.cloudfront.net/startools-prod-kfsrescdn/modules/magic/9bbc9c8b-6d61-4dbf-838c-6e07389ca96a.jpg.f1c88514845063cc5a7b3713a4daffa0[/img] ^ Top left: input image. Top right: Tighten preset. Bottom left: Dim preset. Bottom right: Un-glow preset with all else turned off; a subtle contrast increase can be seen around bright stars. The Shrink module offers comprehensive stellar profile modification by shrinking, tightening and re-colouring stars. [size=175][url=https://www.startools.org/modules/magic/usage]Usage[/url][/size] A good star mask is essential for good results. Even though the Shrink module is much more gentle on structural detail, ideally, only stars are treated and not any structural detail. The 'AutoMask' button launches a popup with access to two quick ways of creating a star mask. This same popup is shown upon first launch of the module. The generated masks tend to catch all major stars with very few false positives. If you also wish to include fainter, small stars in the mask, then more sophisticated techniques are recommended to avoid including other detail. Finally, if your object is mostly obscured by a busy star field, for example in a widefied, then also consider using the Super Structure module to enhance the super structures in your image and push back the busy star field. Combining both the Shrink module's output and the Super Structure module's output can greatly transform a busy looking image in positive ways. [size=150][url=https://www.startools.org/modules/magic/usage/parameters]Parameters[/url][/size] [img]https://d2kvhj8ixnchwb.cloudfront.net/startools-prod-kfsrescdn/modules/magic/usage/parameters/a042096b-1f0e-4024-ade6-3eda3302a1a7.jpg.6dd24362d38960aba0318122705a83a3[/img] ^ Top: original image. Bottom: 'Color Taming' parameter used. Note the stars now appear less conspicuous as their colours blend in with the rest of the object. Two '[b]Mode[/b]' settings are available; [list][*]'Tighten' has the effect of tightening a stars around their central core.[/*][*]'Dim' has the effect of dimming stars luminosity.[/*][/list] The Shrink module uses an iterative process; the strength of the Tighten or Dim effect is controlled by the number of '[b]Iterations[/b]', as well as the '[b]Regularization[/b]' parameter that dampens the effect. The stringing and pitting artefacts commonly produced by less sophisticated techniques, is thereby avoided. [img]https://d2kvhj8ixnchwb.cloudfront.net/startools-prod-kfsrescdn/modules/magic/usage/parameters/ef183d24-1d9e-4564-850e-5b71a03000db.jpg.5c25758617f1ad96f9d141063a9e6214[/img] ^ The Shrink module's iterative algorithm avoids these sort of stringing and pitting artefacts typically produced by unsophisticated morphological transformations. The '[b]Color Taming[/b]' parameter forces stars to progressively adopt the colouring of their surroundings, like "chameleons". The '[b]Halo Extend[/b]' parameter effectively grows the given mask temporarily, thereby including more of each star's surroundings. If the image has been deconvolved or sharpened and the stars may be subject to subtle ringing artefacts, then the '[b]De-ringing[/b]' parameter will take this into account when shrinking the stellar profiles, as to not exacerbate the ringing. The 'Un-glow' feature attempts to reduce the halos around bright, over-exposing stars. '[b]Un-glow Strength[/b]' throttles the strength of the effect. The '[b]Un-glow Kernel[/b]' specifies the width of the halos. [size=150][url=https://www.startools.org/modules/magic/usage/creating-a-suitable-star-mask]Creating a suitable star mask[/url][/size] [img]https://d2kvhj8ixnchwb.cloudfront.net/startools-prod-kfsrescdn/modules/magic/usage/creating-a-suitable-star-mask/fc391cd2-0c52-4c6a-bd07-d9835cb08594.jpg.f26efdefc73e6eb02e125fd61a410cb8[/img] ^ Clear the mask, and select the part of the image you wish to protect with the Flood Fill Lighter or Lasso tool, then click Invert. A good star mask is essential for good results. Though the Shrink module is much more gentle on structural detail than the basic unsophisticated morphological transformations (such as minimum filters) found in other software, ideally, only stars are treated and not any nebulosity, gaseous filaments or other structural detail. [img]https://d2kvhj8ixnchwb.cloudfront.net/startools-prod-kfsrescdn/modules/magic/usage/creating-a-suitable-star-mask/edbac99f-a745-4d19-8aa4-c7cafcdcc1b7.jpg.a09488992fa40363abd44324525e3e5d[/img] ^ In the Auto mask generator, set the parameters you need to generate your mask (here we choose the 'Stars' preset and set the 'Source' parameter to 'Stretched' to avoid any noise mitigation measures that may otherwise filter out faint stars for selection). Be sure to set 'Old Mask' to 'Add New Where Old Is Set'. The 'AutoMask' button launches a pop-up with access to two quick ways of creating a star mask. This same popup is shown upon first launch of the module. The generated masks tend to catch all major stars with very few false positives. If you also wish to include fainter, small stars in the mask, then more sophisticated techniques are recommended to avoid including other detail. [img]https://d2kvhj8ixnchwb.cloudfront.net/startools-prod-kfsrescdn/modules/magic/usage/creating-a-suitable-star-mask/e7936f0c-5a89-4dff-86cb-9a11700fd0d4.jpg.4a59c82f609b345076ccc4d49ee5f9ba[/img] ^ After clicking 'Do'. The auto-generator will generate the desired mask, however excluding the area we specified earlier. Besides touching up the mask by hand, it is also possible to combine the results of an aggressive auto-generated star mask (catching all faint stars), with a less aggressive auto-generated star mask (catching fewer faint stars, but also leaving structural detail alone); [list=1][*]Clear the mask, and select the part of the image you wish to protect with the Flood Fill Lighter or Lasso tool, then click Invert.[/*][*]In the Auto mask generator, set the parameters you need to generate your mask (here we choose the 'Stars' preset and set the '[b]Source[/b]' parameter to 'Stretched' to avoid any noise mitigation measures that may otherwise filter out faint stars for selection). Be sure to set '[b]Old Mask[/b]' to 'Add New Where Old Is Set'.[/*][*]After clicking 'Do'. The auto-generator will generate the desired mask, however excluding the area we specified earlier.[/*][*]Launch the Auto mask generator once more. Click the 'Stars' preset again. This time set 'Old Mask' to 'Add New To Old' to add the newly generated mask to the mask we already have. This will fill in the area we excluded earlier with the less aggressive mask as well.[/*][/list] [img]https://d2kvhj8ixnchwb.cloudfront.net/startools-prod-kfsrescdn/modules/magic/usage/creating-a-suitable-star-mask/0e8a10e9-5f4e-42cb-8f36-9492d9d53154.jpg.0a44d3891e79fedfa849348d1429906b[/img] ^ Launch the Auto mask generator once more. Click the 'Stars' preset again. This time set 'Old Mask' to 'Add New To Old' to add the newly generated mask to the mask we already have. [img]https://d2kvhj8ixnchwb.cloudfront.net/startools-prod-kfsrescdn/modules/magic/usage/creating-a-suitable-star-mask/603ecd36-3dac-4499-b188-5cfe2e71106f.jpg.2c818af9ca7c2174adb4112d1f2eaa72[/img] ^ We now have a mask that is less aggressive in the area we specified earlier, and more aggressive elsewhere.