I love seeing the astro images posted here, but may I share an algorithm for making them even more beautiful?

Most astro images are created from separate red, green and blue images taken with electronic detectors (whether using classic BVR filters in an attempt to replicate what the eye might see, or some other combination in a “false color” image). There are two big problems that are common with the images created in this way (even by professionals).

The first is in the choice of stretch: how brightness on the detector maps to brightness on the displayed image. Most choose a linear or a logarithmic stretch. A linear stretch brings out fine detail at the faint end, but can leave the viewer ignorant of details at the bright end. A logarithmic stretch allows you to bring out details at the bright end, but not the faint end. Instead of these, choose an asinh (inverse hyperbolic sine) stretch, which is able to bring out both the faint and bright features. It scales linearly at the faint end and logorithmically at the bright end, giving you the best of both worlds.

The second is in the handling of saturation: how to display pixels that are too bright for the chosen stretch. Most apply the stretch separately in the red, green and blue channels. This makes the cores of bright objects appear as white in the color image, while they are surrounded by a halo that is more appropriate to the actual color of the object. The color of a pixel should instead be set by considering all of the channels together. This way, bright objects will have a uniform color, regardless of whether the stretch has been saturated in any of the channels.

See here for a direct comparison between the classic approach and this (not really) new algorithm on the old Hubble Deep Field.

If you would like to adopt this algorithm for your own work, there is a python implementation that you might find useful.

No comments yet!

Astrophotography

!astrophotography@lemmy.world

Create post

Welcome to !astrophotography!

We are Lemmy’s dedicated astrophotography community!

If you want to see or post pictures of space taken by amateurs using amateur level equipment, this is the place for you!

If you want to learn more about taking astro photos, check out our wiki or our discord!

Please read the rules before you post! It is your responsibility to be aware of current rules. Failure to be aware of current rules may result in your post being removed without warning at moderator discretion.

Rules

  • I | Real space images only.
  • Astrophotography refers to images of astronomical objects or phenomena exclusively.

  • Images that show objects or people below the Kármán Line (100km) will be removed. We won’t be enforcing this rule for now, but as the community grows eventually we will split and have a separate space for just landscape astro.

  • Images must be an accurate representation of a real astronomical object.

  • See this page for more details


  • II | Original and Amateur Content Only
  • Image posts can only be images that you have captured and processed yourself, or discussion about capturing and/or processing your own images.

  • Images acquired from public sources, professional observatories, or other professional services are not allowed.

  • If you have done a drastic alteration or reprocessing of a prior submission, you may repost your edit - but only after a minimum of one week has passed.


  • III | Post Types
  • Image posts are to link directly to the image, not to landing pages, personal galleries, blogs, or professional sites. Link to these in the comments. (AstroBin and Imgur, are allowed)

  • Questions are welcome here for the time being.

  • Links to blogs, articles or external websites should be interesting and promote discussion about amateur astrophotography.


  • IV | Titles
  • All image posts should just include include the name of the object being photographed. Extra info such as equipment, it being your first image, or other information should go in a comment along with your acquisition info. Please see this page for more details.

If your post is removed, try reposting with a different title. Don’t hesitate to message the mods if you still have questions!


  • V | Acquisition and Processing Information
  • All submitted images must include acquisition and processing details as a top-level comment. All posts without this information may be given a warning, and if not updated will be removed.

  • This includes the telescope, mount, camera, accessories, and any other pieces of equipment you used to capture the image.

  • You must also include processing details, i.e. the programs you used and a general rundown of the workflow/processes you used within those programs. “Processed in Photoshop” is not enough.

Community stats

  • 129

    Monthly active users

  • 72

    Posts

  • 77

    Comments