Image Compression and the FFT

Поділитися
Вставка
  • Опубліковано 12 гру 2024

КОМЕНТАРІ • 57

  • @FengXingFengXing
    @FengXingFengXing 3 місяці тому +1

    Some image and audio compression like PNG or FLAC no use this method but replace same data value with shorter version. Compression no equal JPEG, mp3, or ogg but can store all data exact.

  • @oussamalaouadi8521
    @oussamalaouadi8521 4 роки тому +4

    Great. Thank You so much.
    just one thing to point out : the JPEG Compression standard used the DCT transform on the block level of an image (usually 8x8) it's based on Fourier's idea but a bit advanced in some sense that it de-correlates the input data (frequency information of pixels) to make it easier to Quantify (reduce) the higher frequencies and still get almost the same image with less volume.

    • @chowdhsk
      @chowdhsk 3 роки тому

      yes was just about to type this. @steve maybe you should mention it

  • @OliverKhan-p2e
    @OliverKhan-p2e Рік тому +1

    Excellent video. It was especially interesting to understand image compression in the context of Parseval's Theorem.

  • @individuoenigmatico1990
    @individuoenigmatico1990 11 місяців тому

    Wonderful content.
    I think the fact that compression works depends on the fact that the Discrete Fourier Transform, and hence its inverse, are unitary operators, hence they preserve distances between vectors. If I am eliminating a little noise in a vector in the Fourier space, I get a new denoised vector whose distance to the first one is negligible, hence the distance between the original image and the the "compressed" image shall itself be negligible.

  • @lernenmitrobin
    @lernenmitrobin 4 роки тому +1

    Great Steve! There was the Parsevals theorem related to FFT we talked about a few videos ago. Very nice example and explanation!!!

  • @complex_variation
    @complex_variation 4 роки тому

    wow steve all your videos are way too great I'm buying your book as soon as I can.

  • @TheGhostcowvaca
    @TheGhostcowvaca Рік тому

    Very clear and easy to understand!

  • @arvindp551
    @arvindp551 4 роки тому +1

    It's 2 AM in New Delhi and you have made my day. Thank you Steve!

    • @yuurishibuya4797
      @yuurishibuya4797 4 роки тому +1

      Get a life!

    • @arvindp551
      @arvindp551 4 роки тому

      @@yuurishibuya4797 well, I have everything i need, you name it...except a job in engineering field for which I had left my previous stable-cum-peaceful job.

  • @sirajtayyabkhan6820
    @sirajtayyabkhan6820 3 роки тому

    Brilliant video, very concise, and clear.

  • @alexeyl22
    @alexeyl22 4 роки тому +3

    Would be nice to see effects of various animations on the FFT.

    • @johnwt7333
      @johnwt7333 4 роки тому +1

      Just do it yourself in python.

    • @FengXingFengXing
      @FengXingFengXing 3 місяці тому

      This video have FFT history and animación:
      m.ua-cam.com/video/nmgFG7PUHfo/v-deo.html

  • @sksahil4374
    @sksahil4374 Рік тому

    Great Video. Very good explanation. it's clear my concept about wavelet transformation.

  • @konstantinosmimidis1632
    @konstantinosmimidis1632 4 роки тому +4

    Great video. Very good level of explanation for educational purposes, but also for professionals. Congratulations! Looking forward for the wavelet analysis and S-transform if it possible sometime.

  • @SRIMANTASANTRA
    @SRIMANTASANTRA 4 роки тому +1

    Hi Professor Steve, Thanks.....

  • @JohnWick-xd5zu
    @JohnWick-xd5zu 4 роки тому

    Thank you sir

  • @jumbyvt6839
    @jumbyvt6839 2 роки тому

    This was really good. Great job.

  • @gammingfatma2282
    @gammingfatma2282 3 роки тому

    أستاذ رائع ومميّز.... Great Video

  • @michaeljurado7224
    @michaeljurado7224 2 роки тому +1

    This is a great video.

  • @overcomplete
    @overcomplete 4 роки тому +4

    might be a bit advanced but the bit I'm interested in is zero-padding. thanks great vids as always

  • @migueMSD
    @migueMSD 3 роки тому +2

    Great video

  • @xiezhang1741
    @xiezhang1741 4 роки тому +3

    I am curious how the "transparent" board works.

    • @danielsteel5251
      @danielsteel5251 4 роки тому +1

      Likely some variation on this: black room, solid color background, special neon markers, camera behind *pane of glass,* and the picture is reversed (i.e., horizontally reflected) either before or after recording.
      Make sense?

    • @xiezhang1741
      @xiezhang1741 4 роки тому

      @@danielsteel5251 Thanks. That explains. Sometimes he also includes his computer screen on the board. Guess there would be another projector involved. Anyways, it's really cool to see it. It looks so nice.

    • @danielsteel5251
      @danielsteel5251 4 роки тому

      @@xiezhang1741 _... Guess there would be another projector involved. ..._
      I'd guess that it was video editing, after the fact; not a projector.

    • @xiezhang1741
      @xiezhang1741 4 роки тому +1

      @@danielsteel5251 That's unlikely, since he is precisely pointing to the right codes and images while he demonstrates the code implementations. It's gonna be really difficult to pretend something exists there while explaining very accurately and add the actual stuffs later.

    • @superuser8636
      @superuser8636 4 роки тому +1

      @@xiezhang1741 His screen is being recorded and he can see it in a monitor while recording as he can be seen looking off camera into a monitor and it is then later edited in (and out) in post-production (post/post-prod) as necessary. If I'm wrong feel free to offer an alternate theory, but this seems the most likely and is what I would do.

  • @bryanperf
    @bryanperf 4 роки тому +1

    Another great video and well explained. Doesn't JPEG use the DCT instead of the full FFT?

    • @supershaye
      @supershaye 4 роки тому +1

      Yes JPEG uses the DCT instead. The energy compaction of the DCT is much better than the Fourier Transform.

    • @Miyelsh
      @Miyelsh 4 роки тому +2

      JPEG uses the DCT with blocks of pixels instead of the whole image at once. That's why badly jpg'd images have the odd blocky appearance.

  • @martinignaciofeldman
    @martinignaciofeldman Рік тому

    great video, thanks

  • @Amine-gz7gq
    @Amine-gz7gq 2 роки тому

    what is the range of frequencies used for the FFT ?

  • @jms547
    @jms547 4 роки тому

    So after thresholding do the large-amplitude components tend to sit on a compactly supported set as you kind of suggest in your sketches, or are they scattered all over Fourier space? Thanks for the great lectures!

    • @Miyelsh
      @Miyelsh 4 роки тому +1

      They would be pretty heavily localized, but depend a lot from image to image. A picture of a white square on a black background would look kind of like a puddle after a rock was dropped in, with circles emmanating from the center.

    • @jms547
      @jms547 4 роки тому

      @@Miyelsh thanks!

    • @erick_ac
      @erick_ac Рік тому

      you could design an image to scatter over the fourier space, but regardless, the inverse operation to form the image only keeps the coefficients needed for the higher values, aka, you store their coordinates from the fourier space
      although one could totally design a way to store the coefficients that best fit the described set in the sketch, but you would need to study a very particular use case to apply it (like maybe how the fourier space looks on cartoony images or just compressing for text)

  • @toastrecon
    @toastrecon 4 роки тому

    I'm excited to learn more about this!

  • @EEDKonduruLakshmiBhanuPrakashR
    @EEDKonduruLakshmiBhanuPrakashR 4 роки тому

    Professor can you please explain difference between and FFT and DCT, why DCT is used in JPEG Compression and can you please explain python code for JPEG COMPRESSION . Thank you.

  • @delendaanouar7180
    @delendaanouar7180 4 роки тому

    Hi, Great video as usual. Lately I have heard of Haline which is used in image processing and it is 100 times faster than Matlab, I wonder if Haline using another algorithm differs from that of FFT, and another question is how we can return the signal word to the image(image=signal!!)?

    • @mohamedking96
      @mohamedking96 2 роки тому

      an image is simply a set of points(x,y) which they could be plotted like a signal

    • @erick_ac
      @erick_ac Рік тому

      the fast fourier transform is a discrete transform meaning that the values it receives are in a discrete domain, it's not a continuous signal.
      it's extensively used in computing because of the discrete nature of digital stuff like audio and video

  • @amortalbeing
    @amortalbeing 6 місяців тому

    Thanks good

  • @igorg4129
    @igorg4129 4 роки тому +1

    Great. Thank you very much sir.
    Question. In the middle of fft2 image
    There are low frequensy sinewaves, or there are high amplitude sinewaves?

    • @Miyelsh
      @Miyelsh 4 роки тому +1

      The middle is low frequency waves. The very center is what's called the DC term, which is the overall average brightness of the image. The edges would be terms that are alternating every pixel, so you would only see those if you did something like took a picture of a screen door.

  • @astrovenky
    @astrovenky 4 роки тому +1

    7:05 this doesn't have to be true but this is true!! Lol 🤣

  • @davidajaba
    @davidajaba 4 роки тому

    I'm here first... Awesome video... 😁

  • @jerobarraco
    @jerobarraco Місяць тому

    The board doesnt really help with visualizing the process. I wish there were better graphics.

  • @ashwinsrinivas7278
    @ashwinsrinivas7278 4 роки тому

    Peppa!!! What are you doing in Steve's video??

  • @falahmohsen9796
    @falahmohsen9796 3 роки тому

    hello >>>thank you for this فhe interesting lecture. Can I communicate with you by email about the same topic