Creating ProcessContainer for histogram stretch

Since EZProcessingSuite is no more, I am trying to create a process icon using ProcessContainer. My thought on this is:

1. Create a ProcessContainer
2. Add STF process
3. Apply STF
4. Add HistogramTransformation to the process container
5. Apply STF settings to HistogramTransformation
6. Apply modified HistogramTransformation to target image

The issue I am running into is between steps 4 and 5. How do I replicate the action of dragging the triangle from STF to HistogramTransformation in the processcontainer?
 
not sure if there is a solution to this. however, why do you want to do this? EZ_SoftStretch was fixed to work with -2, and there are a million different ways to stretch an image. there are even some very old scripts in the script menu like DeLinear that probably do what you are trying to do here.
 
Hi,

You can use the most powerful and creative tool in PixInsight: PixelMath. STF does an adaptive stretching to the image based on image statistics. You can replicate this operation in PixelMath. In the video below we apply an adaptive stretch with PixelMath:


Though it's a complex formula, it simply has two parameters to be adjusted, and they work in a similar way as the STF Auto Stretch settings.

You can watch this video, but I strongly recommend you to watch the entire time-lapse series, where you'll see several options to automatically stretch an image set depending on their particular characteristics. The first video also explains how to work with image and process containers.

For more details, I also recommend you to watch at least the first video of the processing history block in the Introduction to PixInsight video series:



Hope this helps.
Best regards,
Vicent.
 
not sure if there is a solution to this. however, why do you want to do this? EZ_SoftStretch was fixed to work with -2, and there are a million different ways to stretch an image. there are even some very old scripts in the script menu like DeLinear that probably do what you are trying to do here.
I did not know it was still in development. I will give it a try.
Hi,

You can use the most powerful and creative tool in PixInsight: PixelMath. STF does an adaptive stretching to the image based on image statistics. You can replicate this operation in PixelMath. In the video below we apply an adaptive stretch with PixelMath:


Though it's a complex formula, it simply has two parameters to be adjusted, and they work in a similar way as the STF Auto Stretch settings.

You can watch this video, but I strongly recommend you to watch the entire time-lapse series, where you'll see several options to automatically stretch an image set depending on their particular characteristics. The first video also explains how to work with image and process containers.

For more details, I also recommend you to watch at least the first video of the processing history block in the Introduction to PixInsight video series:



Hope this helps.
Best regards,
Vicent.
Thank you! I will watch the steps and see if I can create a process. I did not know STF functionality can be replicated with PixelMath.
 
Back
Top