• GamingChairModel@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    27 minutes ago

    This write-up is really, really good. I think about these concepts whenever people discuss astrophotography or other computation-heavy photography as being fake software generated images, when the reality of translating the sensor data with a graphical representation for the human eye (and all the quirks of human vision, especially around brightness and color) needs conscious decisions on how those charges or voltages on a sensor should be translated into a pixel on digital file.

  • worhui@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 hours ago

    Not sure how worth mentioning it is considering how good the overall write up is.

    Even though the human visual system has a non-linear perception of luminance. The camera data needs to be adjusted because the display has a non-linear response. The camera data is adjusted to make sure it appears linear to the displays face. So it’s display non-uniform response that is being corrected, not the human visual system.

    There is a bunch more that can be done and described.

  • bookmeat@lemmynsfw.com
    link
    fedilink
    English
    arrow-up
    6
    ·
    7 hours ago

    I think the penultimate photo looks better than the final one that has the luminance and stuff balanced, but maybe that’s just me.

  • JeeBaiChow@lemmy.world
    link
    fedilink
    English
    arrow-up
    68
    ·
    19 hours ago

    Good read. Funny how I always thought the sensor read rgb, instead of simple light levels in a filter pattern.

    • TheBlackLounge@lemmy.zip
      link
      fedilink
      English
      arrow-up
      10
      ·
      13 hours ago

      You could see the little 2x2 blocks as a pixel and call it RGGB. It’s done like this because our eyes are so much more sensitive to the middle wavelengths, our red and blue cones can detect some green too. So those details are much more important.

      A similar thing is done in jpeg, the green channel always has the most information.

    • Davel23@fedia.io
      link
      fedilink
      arrow-up
      17
      ·
      17 hours ago

      For a while the best/fanciest digital cameras had three CCDs, one for each RGB color channel. I’m not sure if that’s still the case or if the color filter process is now good enough to replace it.

      • worhui@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 hours ago

        3chip cmos sensors are about 20-25 years out of date technology. Mosaic pattern sensors have eclipsed them on most imaging metrics.

      • CookieOfFortune@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        6 hours ago

        There are some sensors that have each color stacked vertically instead of using a Bayer filter. Don’t think they’re popular because the low light performance is worse.

        • GreyEyedGhost@piefed.ca
          link
          fedilink
          English
          arrow-up
          2
          ·
          49 minutes ago

          This was sold by Foveon, which had some interesting differences. The sensors were layered which, among other things, meant that the optical effect of moire patterns didn’t occur on them.

      • lefty7283@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        8 hours ago

        At least for astronomy, you just have one sensor (they’re all CMOS nowadays) and rotate out the RGB filters in front of it.

        • trolololol@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          3 hours ago

          Is that the case for big ground and space telescopes too? I can imagine this could cause wobbling.

          Btw is that also how infrared and x-ray telescopes work as well?

          • lefty7283@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 hour ago

            It sure is! The monochrome sensors are also great for narrowband imaging, where the filters let through one specific wavelength of light (like hydrogen alpha) which lets you do false color imaging.

            IR is basically the same. Here’s the page on JWST’s filters. No clue about xray scopes, but IIRC they don’t use any kind of traditional CMOS or CCD sensor.

    • _NetNomad@fedia.io
      link
      fedilink
      arrow-up
      27
      ·
      18 hours ago

      wild how far technology has marched on and yet we’re still essentially using the same basic idea behind technicolor. but hey, if it works!

  • tyler@programming.dev
    link
    fedilink
    English
    arrow-up
    34
    ·
    18 hours ago

    This is why I don’t say I need to edit my photos, but instead I need to process them. Editing is clearly understood by the layperson as Photoshop and while they don’t understand processing necessarily, many people still understand taking photos to a store and getting them processed from the film to a photo they can give someone.

    • Ada@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      13
      ·
      10 hours ago

      RAW files. Even then, you mostly see the processed result based on whatever processing your raw image viewer/editor does. But if you know how to get to it and use it, the same raw sensor capture data is there

    • forks@lemmy.world
      link
      fedilink
      English
      arrow-up
      14
      ·
      15 hours ago

      Most cameras will let you export raw files, and a lot of phones do as well(although the phone ones aren’t great since they usually do a lot of processing on it before giving you the normal picture)

      • trolololol@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 hours ago

        My understanding is that really raw phone data also have a lot of lens distortion, and proprietary code written by the camera brand has specific algorithms to undo that effect. And this is the part that phone tinkerers complain is not open source (well, it does lots of other things to the camera too).

  • dusty_raven@discuss.online
    link
    fedilink
    English
    arrow-up
    8
    ·
    18 hours ago

    I’m a little confused on how the demosaicing step produced a green-tinted photo. I understand that there are 2x green pixels, but does the naive demosaic process just show the averaged sensor data which would intrinsically have “too much” green, or was there an error with the demosaicing?

    • stealth_cookies@lemmy.ca
      link
      fedilink
      English
      arrow-up
      15
      ·
      edit-2
      17 hours ago

      Yes, given the comment about averaging with the neighbours green will be overrepresented in the average. An additional (smaller) factor is that the colour filters aren’t perfect, and green in particular often has some signficant sensitivity to wavelengths that the red and blue colour filters are meant to pick up.

      edit: One other factor I forgot, green photosites are often more sensitive than the red and blue photosites.

    • trolololol@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 hours ago

      This info may still be present in the files, download them and inspect with any software that displays that kinda info. I’m not proficient in that, I am just a nerd that has done it a decade ago when I was into photography.