• Spoonbit
    link
    fedilink
    arrow-up
    36
    ·
    1 year ago

    You may have used them indirectly in the compression of your image

    • fossphi@lemm.ee
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      1
      ·
      1 year ago

      Fair enough, but did they use it? I always felt like focusing on statistics instead of random trig stuff for non stem people people would be more useful

      • mindbleach@sh.itjust.works
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        Sticking with image compression, see Quite Okay Images. It treats each pixel as three numbers and expects mostly small changes. Recent pixels get hashed and can be referenced in a few bits. This is enough to compete with PNG filesizes, an order of magnitude faster, while handling each pixel exactly once.

        • MinekPo1 [it/she]@lemmygrad.ml
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          though note than lossy formats , like JPEG which was used here , do use Fourier transforms , which are very intense trigonometry . IIRC PNG doesn’t use trigonometry either , though I’m not entirely sure yup PNG uses DEFLATE after some filtering , so no sine there I believe

      • enkers@sh.itjust.works
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        1 year ago

        Agreed, I use highschool level stats knowledge on a nearly daily basis, whereas the last time I did any trig was to follow along with a math video I was watching on YouTube. Trig/calc were mandatory, stats was not.

        • Zink@programming.dev
          link
          fedilink
          arrow-up
          6
          ·
          1 year ago

          And stats really should be a mainline math class in high school. It comes up in so many places, and is far too often simplified away into a binary black & white choice.

          Any time something happens that was predicted to be less than 50% likely, people lose their shit. For instance, when it unexpectedly rains or the wrong person wins an election.

          But it’s not even being able to run the numbers or understanding statistical significance. It’s much more basic, just understanding that probabilities and uncertainty exist and are everywhere. My favorite example is when going to the doctor. They explain that whatever you have is probably X or Y, with a small chance of Z, but Y has been going around a lot and is easy to treat, so let’s try medication A for it. Then when that gets reported to friends and family afterwards, it’s “she said I have Y and I need A to fix it.”

          • frezik@midwest.social
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            Plus, if someone needs calculus for their major, they’ll just make them take it again in college. Why build high school math around it?

      • MinekPo1 [it/she]@lemmygrad.ml
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        JPEG uses a lossy form of compression based on the discrete cosine transform (DCT).

        - Wikipedia - JPEG

        Many modern compression schemes are more about signal processing than statistics , especially the lossy ones . IIRC 3blue1brown has a video on image compression if you want to learn about it in a visual way