Author Topic: MaskedStretch and hard edge stars  (Read 3841 times)

Offline joelshort

  • PixInsight Addict
  • ***
  • Posts: 260
    • Buckeyestargazer.net
MaskedStretch and hard edge stars
« on: 2015 January 26 17:33:12 »
I've been playing around with the MaskedStretch process and have noticed that on bright stars the edges of the stars are distinct and "hard".  See attached (master synthetic LUM image).  Granted this is with a very bright star that is saturated (K=.96).  Is there a way to adjust the MaskedStretch settings so this hard edge doesn't happen?

I've been able to mitigate the effect somewhat by reducing the amount of MaskedStretch (lowering the target background to .09000) and then using CurvesTransformation to stretch the image a little more.
Joel Short
www.buckeyestargazer.net
CFF135 f6.7, SV80ST, G3-16200M, QHY163M, QHY183M

Offline Dimitris Platis

  • PixInsight Addict
  • ***
  • Posts: 181
Re: MaskedStretch and hard edge stars
« Reply #1 on: 2015 January 27 01:02:30 »
U can chck this out
http://pixinsight.com/forum/index.php?topic=7348.msg49626#msg49626

or perform a convolution with a star mask

Offline joelshort

  • PixInsight Addict
  • ***
  • Posts: 260
    • Buckeyestargazer.net
Re: MaskedStretch and hard edge stars
« Reply #2 on: 2015 January 27 06:01:26 »
That looks promising Dimitris.  Thanks for the link.
Joel Short
www.buckeyestargazer.net
CFF135 f6.7, SV80ST, G3-16200M, QHY163M, QHY183M

Offline lucchett

  • PixInsight Old Hand
  • ****
  • Posts: 449
Re: MaskedStretch and hard edge stars
« Reply #3 on: 2015 January 28 07:29:20 »
Hi,
one of the benefits of MS should be a smoother star profile compared to something like HT.
my personal experience is that the choice of the background value is very important.

I follow the advice suggested by Vicent in one of the old processing examples.

I do a normal HT until I reach the stretch I am looking for.
I take note of the statistical values of the background and use this as a parameter for the MS on the linear image.

hope it helps
Andrea

Offline joelshort

  • PixInsight Addict
  • ***
  • Posts: 260
    • Buckeyestargazer.net
Re: MaskedStretch and hard edge stars
« Reply #4 on: 2015 January 28 16:49:39 »
Thanks Andrea.  One follow up question, do you use the MS just once?  Or do you apply MS to the same image more than one time?  And is the MS stretching sufficient or is it necessary to follow it up with a light HT?
Joel Short
www.buckeyestargazer.net
CFF135 f6.7, SV80ST, G3-16200M, QHY163M, QHY183M

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: MaskedStretch and hard edge stars
« Reply #5 on: 2015 January 28 18:02:56 »
Hi Joel,

That depend on your image. With the previous Masked stretch script that allowed only 200 iterations I used to use several application for faint nebulaes. With the new Masked Stretch Module you can set until 1000 iteration that is enough in most of the cases.
You can use MS alone or together with other intensity tranformations to reach the desired level of stretch.

Saludos, Alejandro.

Offline joelshort

  • PixInsight Addict
  • ***
  • Posts: 260
    • Buckeyestargazer.net
Re: MaskedStretch and hard edge stars
« Reply #6 on: 2015 January 28 18:09:30 »
OK. I'm finding this script particularly helpful on widefield images taken with camera lenses in which the stars tend to easily bloat. A few iterations of the script seems to work better in those cases.
Joel Short
www.buckeyestargazer.net
CFF135 f6.7, SV80ST, G3-16200M, QHY163M, QHY183M

Offline jkmorse

  • PixInsight Padawan
  • ****
  • Posts: 931
  • Two questions, Mitch . .
    • Jim Morse Astronomy
Re: MaskedStretch and hard edge stars
« Reply #7 on: 2015 January 29 07:28:31 »
Joel,

Also take a look at Harry's astroshed.  He has a great process of getting the most out of combining both masked stretch and HT.

Best,

Jim
Really, are clear skies, low wind and no moon that much to ask for? 

New Mexico Skies Observatory
Apogee Aspen 16803
Planewave CDK17 - Paramount MEII
Planewave IFR90 - Astrodon LRGB & NB filters
SkyX - MaximDL - ACP

http://www.jimmorse-astronomy.com
http://www.astrobin.com/users/JimMorse