ATRONOMY – ATROPHOTOGRAPHY & IMAGING (40) CALCULATOR Autostretch Parameters A precise tool.
πŸ“–
What is the Autostretch Parameters & How does it work?
In astrophotography the raw image histogram often contains a large number of under‑exposed (dark) pixels and a few saturated (bright) pixels. An auto‑stretch algorithm analyses the histogram and automatically remaps pixel values so that the useful signal occupies the full dynamic range of the display. The user can control three key parameters: the black point (the percentile below which pixels are set to zero), the white point (the percentile above which pixels are clipped to the maximum), and the gamma value that adjusts the mid‑tone contrast. Different stretch types – linear, logarithmic, or asinh – apply distinct mathematical transformations to the pixel values. The fundamental operation can be expressed as a normalized power‑law:
I_{out} = left(frac{I – B}{W – B}right)^{gamma}
I_{out} = stretched pixel value
where I is the original pixel intensity, B the black point, W the white point, and Ξ³ the gamma exponent.
βš™οΈ
Parameters
Result β€”
❓
Frequently Asked Questions
What is the purpose of an auto-stretch algorithm in astrophotography?
An auto-stretch algorithm helps to remap pixel values so that the useful signal occupies the full dynamic range of the display, improving image contrast.
How do I control the black point and white point in this calculator?
You can set the black point by choosing the percentile below which pixels are set to zero, and the white point by selecting the percentile above which pixels are clipped to the maximum.
What is the benefit of adjusting these parameters?
Adjusting these parameters allows you to enhance the visibility of faint details in dark areas and prevent overexposure in bright areas, resulting in a more balanced image.
Can I use this calculator for any type of photography?
While it's optimized for astrophotography, this calculator can be useful for any photography that requires dynamic range adjustment.
How does the auto-stretch algorithm analyze the histogram?
The algorithm examines the raw image histogram to identify the distribution of pixel values and automatically remaps them to utilize the full display dynamic range.
What should I consider when setting the black and white points?
When setting these points, consider the specific details you want to highlight in your image. Setting them too low or too high can result in loss of important information.
Is there a way to preview the changes before applying them?
Yes, most astrophotography software allows you to preview the effects of histogram adjustments before finalizing them.

Results are for informational purposes only and do not constitute professional advice.