Masked stretch in Dev?

Questions and answers about processing in StarTools and how to accomplish certain tasks.
Post Reply
jimmy101
Posts: 29
Joined: Tue Apr 16, 2019 4:25 am

Masked stretch in Dev?

Post by jimmy101 »

Hi All.. first post!
I've being using ST for some time now but one thing that would be very handy to do is a masked stretch, in particular to reduce star bloat (particularly on my RASA that sucks in starlight!). All my images look good and I use shrink/tighten on stars but is there a way to reduce star bloat when using dev (apart from obviously stretching less)? Currently I just create two stretches and overlay them later in GIMP and it works OK but it would be nice to do once in Dev. Maybe this could be a feature request...
User avatar
admin
Site Admin
Posts: 3382
Joined: Thu Dec 02, 2010 10:51 pm
Location: Melbourne
Contact:

Re: Masked stretch in Dev?

Post by admin »

Hi,

Thanks for posting!
If Develop or AutoDev doen't yield the results you're looking for (they should mitigate star bloat quite well though!), you can easily do a masked stretch by using the Layer module;
  • Do a regular stretch to taste, focusing on the shadows and mid tones.
  • Go into the Layer module
  • Click Undo -> background
  • Select "Where fg is light use bg" for "Brightness Mask Mode".
  • Tweak Brightness Mask Power to taste
Hope this helps!
Ivo Jager
StarTools creator and astronomy enthusiast
Rkonrad
Posts: 253
Joined: Sun Feb 07, 2016 2:55 am

Re: Masked stretch in Dev?

Post by Rkonrad »

Ok..so this works but we get waning messages about using that module while tracking is engaged. That is ok? Wouldl this have any impact in the noise reduction in the end? Ivo, you had also advised something similar about bringing the stars down in the Heart Nebula I was working on. Should this all be done after tracking is complete. It just seems logical to ask this considering what I understand so far about the tracking process. Thanks.

Richard
User avatar
admin
Site Admin
Posts: 3382
Joined: Thu Dec 02, 2010 10:51 pm
Location: Melbourne
Contact:

Re: Masked stretch in Dev?

Post by admin »

Rkonrad wrote:Ok..so this works but we get waning messages about using that module while tracking is engaged. That is ok?
Good question/point! It is indeed important to be careful when using the Layer module mid-Tracking. Some operations will interfere with Tracking's ability to evaluate how noise propagation changes between operations/modules. The masked stretching, applied in this matter does not however.
Would this have any impact in the noise reduction in the end? Ivo, you had also advised something similar about bringing the stars down in the Heart Nebula I was working on. Should this all be done after tracking is complete. It just seems logical to ask this considering what I understand so far about the tracking process. Thanks.
That procedure is best applied after Tracking, yes.

Rule of thumb for can I / can't I do this within the Layer module while tracking is on, is; you can if the pixel change can be expressed as a simple transformation of the source pixel at that same location (for example a multiplication, addition, exponentiation). An operation should ideally not be dependent on neighboring pixels and should not be applied selectively, or as a function of a threshold.
Ivo Jager
StarTools creator and astronomy enthusiast
jimmy101
Posts: 29
Joined: Tue Apr 16, 2019 4:25 am

Re: Masked stretch in Dev?

Post by jimmy101 »

Thanks Ivo!
Post Reply