Best way to stretch an Image in Pixinsight

6 replies934 views
Anderl avatar
Hey guys, 

i am new to pixinsight and only processed a few pictures with it until now. 

one thing i don’t fully get is.
what is the best way to stretch an image in pixinsight? 
until now i only ever used the stretch of the screen transfer function for my final image. 

Looking at the stf results i have to say that i really like them. 

is it worth working into something like the ghs script? 

cs 
andi
Steve Solon avatar
Hi Andy,
In PixInsight, I will apply several iterations of the Histogram Transfer Function. Remember, plenty of data is what makes HT work best. Many folks try to overstretch small amounts of data, and this leads to nothing but noise.

I'll bring up HT, create a preview (hollow circle at the bottom), and start moving the middle slider to the left until the background is slightly gray, then apply HT (the square). Delete the Preview, reset HT, and create another Preview. Move the middle slider to the left again until the image brightens, then move the left slider to the right to darken the background slightly, watching the low Histogram curve to make sure you don't clip the dark pixels. Apply HT again, and repeat the above processes until you're satisfied with the results. Remember that it's always a good idea NOT to darken the background completely to black; a slight gray is certainly acceptable, unless you're under jet-black skies.

This a very basic method for stretching. During the HT process, be sure to periodically check the background for excess noise - this indicates that you've moved the middle slider a bit too far, so back down a little and continue.

It's generally accepted NOT to move the far-right slider, although I've done so on occasion (very, very slightly).
Also, my camera has 20 million pixels, so if I clip a few hundred or thousand dark pixels to get the result I want, I'm okay with that - your choice.

When you're done with the stretching, try applying a dose of TGV Denoise to soften any residual background noise. Play with the Amount until you're satisfied.
Again, very basic suggestions, but it should get you going and make you more familiar with stretching.

 - - Steve
Well Written Helpful Insightful Engaging Supportive
Jeff Horn avatar
I have been incorporating GHS into my workflow because I really like the results.  I used to do several iterations of HT until happy.  Then I did GHS on color and HT on luminance or NB images.  Now I've gotten used to the GHS process and I use it for both.  I still perform iterative stretching.  I never did get arcsin stretch to work for me very well, but really happy with GHS.  On the luminance side, sometimes I will finish the stretch with HT.
Jocce avatar
GHS gives you so much more control over the stretch. You can avoid overstretching bright items, focus a stretch on a certain part of the histogram, etc. I am by no means an expert but I have been using it lately and it is definitely worth checking out.
Well Written
Leonardo Landi avatar
It really depends on what you have to do. HT is the basic tool but has a tendancy to blow away colors in brightest area, like stars. On the contrary, Arcsinh stretch preserve the saturation very well but if you overdo with it it's easy to obtain weird results. Masked stretch it's useful for stretching Lum data because you can set a sort of highlights protection. GhS is extremely powerful but needs a little bit of time to deal with. In my opinion a good starting point is the EZ soft stretch script. I use it often in my WF followed by other methods.
Guillermo de Miranda avatar
I personally use EZ soft stretch and make adjustments to that with curves transformation.
Dale Penkala avatar
I personally do not like the GHS process, but this is only me. I’ve watched several video’s on using it and I just can’t get any results that I like better then when I use either the STF or HT. I used to use EZ soft stretch but found I like to stretch manually myself. Many have outstanding results with it so I’d personally have to say that it will become a personal thing at least thats where I’m at with it. 
I would encourage you to download it and watch some video’s on how to use it and play with it a while and see if you like your results. Again just my thoughts on it.

Good luck,

Dale
Respectful Supportive