Wavelets: a mathematical microscope

Поделиться
HTML-код
  • Опубликовано: 30 янв 2025

Комментарии • 1 тыс.

  • @notimput
    @notimput Год назад +30

    One misconception about the Fourier transform: it is *not* completely blind to time (cf. 7:17). If that were the case, the inverse Fourier transform would be ill-defined. However, *any* signal can be transformed into a Fourier representation and back to the *exact* original signal again, with all time information intact! It doesn't change to a different time series signal with the same frequencies present after this back-and-forth transformation, but it *always* remains the same signal no matter how many times you transform it. This means, that time is somehow present in the Fourier transform. What this video forgets, like many people, is that Fourier is not only a magnitude spectrum (as often visualized, like here). The result obtained from a Fourier transform, analyzing a time series signal, is first and foremost a series of complex numbers (which then usually get transformed into a magnitude spectrum). Within this complex number result, you have both the magnitude (the length of each complex number, so to speak) and the *phase* (the angle of the complex number with respect to the real-value axis). So, time is very much present in Fourier, but it is "hidden" in the phase information. I completely understand that phase is a very abstract and complex way of thinking of time for us humans. Phase by itself doesn't tell us anything. Only in combination with the magnitude spectrum can we understand how each frequency present overlaps with the others, which creates the very specific signal that we analyzed previously. Think of the spectrum of an impulse: it ideally has *all* frequencies present, because they need to overlap so precisely that they all cancel each other out at every point in the time series signal apart from where the actual impulse happens. It is essentially an incredibly short white noise burst. Yet, in the time series signal, all you see is a spike in an otherwise silent signal. No indication of oscillating frequency anywhere to be seen.
    More importantly, what this video is talking about in regards to the time frequency duality is not the Fourier series, but the problem we face when we want to generate *spectrograms*. Here we take tiny sub-windows of our signal and analyze each using the Fourier transform. As the frequencies in the original time series fade in and out, each window potentially contains different frequencies or a different proportion of the frequencies. The problem is, that the discrete Fourier analysis is only as high in resolution, as the window is big: a bigger window (more time series samples) results in the same (bigger) amount of frequency bins (more frequency values represented individually). But, the bigger the window, the bigger the time frame that is hidden in the phase of this analysis, which we normally just throw away, since we only look at the magnitude spectrum anyway. Again, as long as you keep the phase information for every window, you can reverse an STFT (basically a spectrogram analysis) and receive the original signal again, which shows that time information is maintained (as long as you do not throw information like phase away).

    • @hydropage2855
      @hydropage2855 Месяц назад +2

      I hadn’t thought about this but it makes a lot of sense actually. Been looking at a lot of Bode plots recently…

  • @delusionalmystic
    @delusionalmystic 2 года назад +13

    lol this is such a hilariously ambitious video, summarizing so many semesters of grad school stuff into one video.
    good job man, I hope you get whatever you're aiming for

  • @JimK0QJC
    @JimK0QJC 2 года назад +759

    This is the best discussion of wavelets I Have seen. Your graphics are in the best tradition of 3B1B.
    More please.

    • @Fred-mv8fx
      @Fred-mv8fx 2 года назад +33

      I agree. My masters-level classes covering Fourier and wavelet transforms were some of the only classes I ever really struggled with and resorted to rote in order to pass.
      I wish I had these videos to watch in concurrence with those classes. I remember almost nothing from them because I had no intuition about the subjects I was learning. This explanation is so simple and intuitive I actually want to revisit the subject and see what I missed by using a purely mathematical approach without a deeper understanding.

    • @李淳罡-o7o
      @李淳罡-o7o 2 года назад +2

      @@Fred-mv8fx 2

    • @ChristianHohlfeld
      @ChristianHohlfeld 2 года назад +2

      so true!

    • @moeal5110
      @moeal5110 Год назад +3

      Now imagine him and 3b1b and vsauce work together on a topic

  • @TeMPOraL_PL
    @TeMPOraL_PL 2 года назад +213

    This is like a third of a semester of intro to signals processing in computer science curriculum, packed into one half-hour video, and I actually understood more from it now than I did from lectures. Huge thanks for doing this!
    For those who wonder whether to watch: notable things include good mental models for complex numbers, Fourier transform, convolution and its relationship with vector dot product and functions as infinite-dimensional vectors, with an unexpected cameo from Heisenberg's uncertainty principle. This video is gold.

    • @gnb-kd2it
      @gnb-kd2it 5 месяцев назад

      what even is an pln

  • @adrianoaxel1196
    @adrianoaxel1196 2 года назад +588

    As an engineer, I can only regret I was born a bit too soon... how lucky of those who are learning thest things with amazing videos like this!

    • @luc7478
      @luc7478 Год назад +11

      I feel the same

    • @samurboi8007
      @samurboi8007 Год назад +8

      i feel like I was born too late, thats so much to learn even if i learn so much id still be behind 😭

    • @Dannn4387
      @Dannn4387 Год назад +14

      I regret I started to appreciate maths too late

    • @mohdazminishak6387
      @mohdazminishak6387 Год назад +8

      😂 even worse for that Fourier guy

    • @TheBigJohny
      @TheBigJohny Год назад +5

      bullshit. as an engineer you have had a lot of money to spare in order to buy cheap bitcoin. meanwhile those of those of us born later had shit and were not able to profit

  • @superlambmilkshake4904
    @superlambmilkshake4904 2 года назад +568

    Man please don’t ever stop making these videos, they are extremely well done and edited and very entertaining while magnificently informative for such complex topics!!!

    • @romanscerbak5167
      @romanscerbak5167 2 года назад

      god, someone watches videos from terror*ssians in late 2022 and likes it

    • @superlambmilkshake4904
      @superlambmilkshake4904 2 года назад +4

      @@romanscerbak5167 what are you even trying to say?

    • @czary_lasu
      @czary_lasu 2 года назад

      @@romanscerbak5167 I don't see any terrorist here, only a scientist. Just go cry anywhere else.

  • @rxphi5382
    @rxphi5382 2 года назад +453

    I can't imagine the amount of work that has gone into this masterpiece of a science yt video❤️🔥
    Thank you very much, more content like this is needed😍!

    • @ArtemKirsanov
      @ArtemKirsanov  2 года назад +31

      Thank you! ❤️

    • @leif1075
      @leif1075 2 года назад +4

      @@ArtemKirsanov Thanks for sharing Artem. I really hope you can respond to my other comment when you can. Thanks very much.

    • @leif1075
      @leif1075 2 года назад +1

      @@ArtemKirsanov Hey Artem I hope you can respond when when question about the frequency values when you get a chance. I would appreciate it.. Thanks very much.

  • @sparky173j
    @sparky173j 2 года назад +18

    This is absolutely mind blowing - especially when you bring in the complex wavelet.
    The gradual addition of concepts is extremely well done, and everything is well explained.

  • @dostarora25
    @dostarora25 2 года назад +36

    Hands down the best video on Wavelets. This video packs so much information but in such a succinct & intuitive way, that makes watching it a delight.

  • @Foo-i1v
    @Foo-i1v Год назад +10

    everyone talks about how amazing are the animations, and forget how amazing is the explanation,
    Artem Kirsanov is truly a genius

  • @wanikhawar
    @wanikhawar 2 года назад +17

    I can't tell you how much I learnt from this one video. Thanks a lot ! Please keep making these videos.

  • @islulison
    @islulison 4 месяца назад +4

    How this is free but explained so well is honestly so humbling. Thank you.

  • @samuelequinzi3153
    @samuelequinzi3153 2 года назад +200

    This video literally blown my mind about wavelets. There're been several weeks of works studying wavelets (in the discrete domain) for the work of my thesis. So far, more or less I have all the concepts explained in the video clear, but the amazing graphic representation of the signals and wavelets in the video, and also of the entire process of wavelet analysis almost filled all my remaining gaps! This video is incredible to understand wavelets!

    • @DannyOvox3
      @DannyOvox3 2 года назад +2

      What is your major?

    • @samuelequinzi3153
      @samuelequinzi3153 2 года назад +6

      @@DannyOvox3 I got master's degree in Computer Science at Roma Tre University; we're using wevelets to analyse BGP anomalous traffic

    • @DannyOvox3
      @DannyOvox3 2 года назад +3

      @@samuelequinzi3153 Oh wow, I am going for a CS degree. I know is a masters level where you are at but these topics seem alien to me, I thought this was related more to electrical engineering.

    • @Grateful.For.Everything
      @Grateful.For.Everything 2 года назад +6

      @@DannyOvox3 this goes far deeper. As you drill down through the sciences in search of core truths, You will find that it all leads You to this, the Key to understanding this existence.

    • @THeMin1000
      @THeMin1000 2 года назад +3

      @@DannyOvox3 You'll be surprised how much math is there in CS. CS is not the exact same as software engineering.

  • @k22kk22k
    @k22kk22k 2 года назад +1

    Never expected I am MOVED by a math video explaining wavelets.

  • @johnandersontorresmosquera1156
    @johnandersontorresmosquera1156 2 года назад +14

    One of the best videos I have ever seen, and the best explanation of wavelet transform on the internet. I can't imagine how many hours of work you invested here , but it tells a lot about your passion on knowledge sharing. Kudos ! 👏

  • @avneeshkhanna
    @avneeshkhanna Год назад +1

    Wow! This brought together so many complicated topics so seamlessly and intuitively. Was more engaging than a Netflix episode. So good! Thanks for all your efforts!

  • @MeriaDuck
    @MeriaDuck 2 года назад +143

    The subject is highly interesting.
    On top of that your video is amazing with all details. The music is very quiet but "opens" the space, the subtle effects on "static" graphs that make them dynamic, the not-so-subtle but entertaining and functional use of sound effects and the use of special effects in manim make this very nice to watch.
    I've played around with manim a bit and can only imagine how much work this must've been, holy heck.

    • @ArtemKirsanov
      @ArtemKirsanov  2 года назад +23

      Wow, thank you so much!! I really appreciate it

    • @laurenpinschannels
      @laurenpinschannels 2 года назад +5

      I have to say, the subtle effects were a major negative for me - good video though!

    • @exoticcoder5365
      @exoticcoder5365 Год назад

      @@laurenpinschannels I definitely love those aesthetic subtle effects

  • @EngRMP
    @EngRMP 2 года назад +7

    I've been using and teaching the mathematics of the Fourier Transform, but had never seen a description of wavelets. This is a beautifully done presentation. And, I can tell that once I get to correlation and convolution with my students, they will really enjoy this description of wavelets. To be human and alive these days is just amazing. We are truly in an explosive evolutionary phase of information. And, I am astounded by how many people are so incredibly intelligent, able to describe complex topics so well, and willing to take the time to make these beautiful animated videos.... I wish I could give 1000 thumbs up.

  • @enriquejosuealvarezrobles8943
    @enriquejosuealvarezrobles8943 2 года назад +52

    Holy moly, with my startup, I am working on an image analysis project collaborating with hospitals in Spain and the next steps on the project are similar to what you just showed to us. You just gave me more ideas to test and your visualizations are the best! (it reminds me of 3b1b videos)
    I will send you some results as soon as we finish it :)

    • @ArtemKirsanov
      @ArtemKirsanov  2 года назад +8

      Wow, that's fascinating! Good luck ;)

  • @procedupixel213
    @procedupixel213 2 года назад +32

    So many details touched upon, such clear imagination of the underlying geometric intuition. So many little programs written to produce those graphs, diagrams, and visualizations. So refreshing to not rely on the Haar wavelet for an introduction to the topic. This video is going to leave many lasting memories in many minds. I am in awe.

    • @brendawilliams8062
      @brendawilliams8062 Год назад

      Me too. Cookie cutters you can exit with a cube can leave many questions.

  • @xyzest6492
    @xyzest6492 2 года назад +3

    What an insightful masterpiece! Such an elegant balance of simplicity, entertainment, and information

  • @MaybeNeutral
    @MaybeNeutral 2 года назад +4

    Awesome content and animation! First time I've ever felt motivated to donate. Way more bang for your buck than my vibes classes were

  • @peterkaladius6718
    @peterkaladius6718 Год назад +4

    Thank you VERY MUCH! I really enjoyed every second of it, and as a graduate student I can really appreciate how insightful this is.

  • @riflesightsonme2120
    @riflesightsonme2120 4 месяца назад +2

    This made perfect sense after knowing only a few things about wavelets, convolution and Fourier transform. I am in disbelief that I sat through the whole video and it was quite captivating with smooth transitions and excellent presentation. I won't even mention the animations, it was like jigsaw fall into place. I wish all engineering concepts was explained this way. Thank you a lot, keep up the good work!

  • @wsshambaugh
    @wsshambaugh 2 года назад +7

    You can tell how much thoughtfulness went into every visualization here. For example, during the dot product explanation the value of the dot product was mapped onto the distance of the angle marker from the origin, and scaled such that the right angle location made a perfect square. Little touches like that were abound in the video and really help drive home intuition. Every bit of information was there for a reason!

  • @sebastianscharnagl3173
    @sebastianscharnagl3173 19 дней назад

    Came here with nothing but a rough concept of what a wavelet is, gained the insight about it being a kind of convolution, understood its advantages and shortcomings and now I have an intuitive understanding of the uncertainty principle! Wow. The visualization here really is the key to understanding. Thank you very much!

  • @kushagrasachan8933
    @kushagrasachan8933 2 года назад +3

    I literally just burst out with a loud "whoa" at 21:14, about the insight of similarity as captured by the inner-product interpretation of the integral. This video is too well done!!!!

  • @edmilsonjunior9455
    @edmilsonjunior9455 Год назад +1

    Thanks man. This kind of matirials makes me want to be a teacher. Thanks so much for this class

  • @HouD
    @HouD 2 года назад +13

    This video is so absolutely incredible, I'm in awe. Your script, your animations, your understanding and explanation of the mathematics... This is a masterclass in education videos.

  • @griffinkeno1023
    @griffinkeno1023 Год назад +2

    I paused the video to say thank you. You unfolded everything, turned it into a comprehensible lesson.

  • @David_K_Booth
    @David_K_Booth Год назад +3

    27' 33" is just gorgeous. It's wonderful to see visualisation tools that were undreamed of when I was studying Maths in the 1970s, and how expertly people like you can use them.

  • @larrydurante9849
    @larrydurante9849 2 года назад +2

    When you show the individual convolution around 21:00 the top graph is a little bit out of phase with the product graph. Just thought I would mention it... Anyway this is an awesome work, best I've seen to date and I too like a few others have been struggling to really understand this.
    I totally got Fourier when I started this study of wavelets months ago now. Never, without these pictures would I see how the two signals resonate
    It's just such a great contribution for the rest of us who truly want to understand. thank you, thank you, and thank you again!

  • @simondrew2914
    @simondrew2914 2 года назад +17

    Excellent. You have an intuitive sense of pace and information that keeps the viewer fascinated and intrigued. This video alone should be mandatory viewing in any university's physics or electronics courses, and I hope you follow it up with others in the same vein.

  • @samlachance2
    @samlachance2 Год назад

    You just saved me at least a full day of stressfully reading huge swaths of the internet. Thank you.

  • @lossinsauce
    @lossinsauce 2 года назад +8

    It's out! I can't wait to finish it-- the first few minutes is already fantastic!

  • @AndruXa
    @AndruXa Месяц назад

    Thank you for this quick but thorough refresher!

  • @nephronpie8961
    @nephronpie8961 2 года назад +6

    This has to be the most well edited video I've ever seen. Can't imagine watching this all for free. Thank you so much for your contribution towards Science.

  • @BioMedUSA
    @BioMedUSA 2 года назад +1

    It takes a visionary genius to be able to transform complex and abstract mathematical concepts into stunningly beautiful animated works of art - Wow!

  • @SriNiVi
    @SriNiVi 2 года назад +7

    This is just amazing. The level of detail in this is just baffling. Keep it coming. Your videos are scintillating. I have read wavelet transforms back when i was in Undergrad but this level of detail, wish I had known these intuitive interpretations behind this. All the best to you. This made my day.

  • @mdabdullahalrumon4791
    @mdabdullahalrumon4791 3 месяца назад

    I can not explain much and show my gratitude towards your effort explaining such a complex topic that easily. You are genius.

  • @abdullahsy7072
    @abdullahsy7072 2 года назад +52

    This is a MASTERPIECE, thanks for you for the huge effort to come up with such video.

  • @PdWAlle99
    @PdWAlle99 2 месяца назад

    As an engineer…its embarrassing how videos like this are more clear than hours and hours of class and study. Thank you for this beauty

  • @academicalisthenics
    @academicalisthenics 2 года назад +4

    This video is incredible! High production value and amazingly clear explanations!
    Not enjoying this kind of math is almost impossible after watching your beautiful video!

  • @maval10
    @maval10 2 года назад

    I am of science background, but I can only bow. Pls, accept this token. Keep it up for future generation of scientists. L

  • @silentstorm718
    @silentstorm718 2 года назад +3

    You've done an amazing job. By far the best short exposition on wavelets on RUclips. Please keep sharing your work with us!

  • @mortalmantis
    @mortalmantis 2 года назад +1

    This video deserves thousands of "congratulations" and "thank you" comments!

  • @bie806
    @bie806 2 года назад +5

    You are my favorite channel I’ve found all year. The production and information value of your videos is absolutely unheard of. Please keep doing this, it’s an incredible contribution to the informational commons!

  • @pr1yanshumahato
    @pr1yanshumahato 8 месяцев назад

    This is literally the best video on yt discussing about wavelets and wavelet transforms along with equally good visualizations and animations. I mean I don't need to write anything more. Just watch it and know for yourself. You wont regret watching it. Read the other comments and it will tell you how good the video actually is. The amount of effort put into the video is commendable. I would like to end this comment saying that I actually learnt more from this half hour video than going through hours of lectures. Huge respect and love from India!

  • @ThomasJedi
    @ThomasJedi 2 года назад +4

    As someone with a background in signal processing: amazing video, explanation wise as well as animations. I wish that would have been the introduction at university. beautiful work!

  • @ほっきょくあんかけ
    @ほっきょくあんかけ 5 месяцев назад +1

    Thanks. Your video was very valuable.

  • @josephpc5138
    @josephpc5138 2 года назад +3

    You are unparalleled. I have never seen such a master piece on youtube. Please continue the noble efforts. Hope you will make more videos sooner than later . stay no blessed

  • @LabradorPeninsula
    @LabradorPeninsula 2 года назад +1

    I cant believe how clearly and well you covered some of the most complex topics of math such as Orthogonal Functions and the fourier transform. I feel like you explained it in such an intuitive fasion that anyone, even with a very crude math backround, could comprehend it.

  • @Grateful.For.Everything
    @Grateful.For.Everything 2 года назад +4

    You’ve truly done the World a great service by putting this together in such beautiful fashion.

  • @joaobaptista4610
    @joaobaptista4610 2 года назад

    The dot product intutition was mindblowing. It really enhanced my comprehenssion on integral transforms like Fourier, Laplace, etc.

  • @LukeVanIn
    @LukeVanIn 2 года назад +3

    I have been trying to get an intuitive understanding of wavelets for a lot time. This video explained it perfectly!

  • @tasercake1821
    @tasercake1821 2 года назад +2

    More than 7 years after I first learned about the Fourier transform, this video finally helped me wrap my mind around Wavelet transforms.
    I GASPED when the time/frequency/amplitude graph at 23:02 came up - everything just clicked.
    Really great presentation!

  • @cphVlwYa
    @cphVlwYa 2 года назад +3

    This video is an absolute masterpiece! Not only do you clearly have a gift when it comes to explaining things, but you clearly have an amazing work ethic as well. I can't even imagine how much effort must've gone into making all these gorgeous animations! Definitely gained a subscriber!

  • @a.a7500
    @a.a7500 13 дней назад

    You really understand something when you can explain it so easily.

  • @a.niranjan1858
    @a.niranjan1858 2 года назад +3

    Outstanding explanation ever!!!! I have never come across something this clear. Please don't ever stop making such videos please you are helping mankind to grow at multiple dimensions. I support your work from my heart. ❤❤

  • @diego898
    @diego898 2 года назад

    I cant believe this didnt even get an honorable mention! I'm BLOWN AWAY by the quality of this video!!

  • @LookingGlassUniverse
    @LookingGlassUniverse 2 года назад +6

    This video was amazing, thank you! The ideas seem very helpful in quantum mechanics as well

  • @arnaud5686
    @arnaud5686 Год назад

    As a french junior engineer working in vibration analysis, I want to thank you for this wonderful explanation of the wavelet transform, the mathematical animations were so good and beautiful. This Wavelet transform can be such a powerful tool for vibration analysis and signal processing in general.

  • @calvinyeung9271
    @calvinyeung9271 2 года назад +5

    Excellent video! Explained in a really clear and logical way, with impeccable sound design and animations.

  • @chamiboulette
    @chamiboulette 2 года назад +2

    The animation is incredible, the content is rigurous yet approachable, the communication approach is intuitive : 11/10!!!
    I worked with wavelet transform for paleo-oceanography data, and I now I finally understand it. Thank you so much!!

  • @bogdanmarinescu78
    @bogdanmarinescu78 2 года назад +3

    This is probably one of the best educational videos on youtube. Absolutely superb!

  • @arslanzahid4214
    @arslanzahid4214 Год назад

    wow, this video is the probably the best video out there that talks about wavelet transform. The visuals, the explanations, all are top tier. It not only explains wavelets but explains the need for wavelet transform. Great Job.

  • @santosguife
    @santosguife 2 года назад +18

    Great video, really appreciated the explanations and cool animations! I've been wanting to understand this topic for a while but couldn't quite get my hands on as I'd like, so this served as a great push. I'm getting close to using this technique in my work (not neuroscience though), so this was a nice way of getting a bit of contact with the topic before having to go deeper in the subject. It's funny that I found you a while ago by your videos about Obsidian and Zotero and didn't know you did videos like this one, now I'm definitely subscribed. Keep up the great videos!

  • @WayneFengDS
    @WayneFengDS 2 года назад +2

    None of my professors back in university has explained things so clearly. Thanks a lot!

  • @cheesofile666
    @cheesofile666 2 года назад +3

    Masterfully done. Mindblowing animation, interesting and engaging topic, clear and well-structured script: you've got it all!

  • @mehrabnikoofaraz233
    @mehrabnikoofaraz233 2 месяца назад

    Just WOW. Thank you so much for the great job.
    This is indeed a work of art. This is indeed a work of art; you convey so much information in such a short time and in the best manner.
    Please do not stop making such videos.

  • @a52productions
    @a52productions 2 года назад +17

    The bit at the end where you talk about the wavelet transform's adaptive uncertainty is neat, and explains something I was wondering about the entire time -- how is the wavelet transform different from a time-windowed Fourier transform? This seems to be the answer! Because the support of a wavelet varies over frequency, unlike the static window size of a windowed FFT, you can get more information where it matters.

    • @markmcla
      @markmcla 2 года назад +2

      I was wondering the same thing 🙂

    • @MrSonny6155
      @MrSonny6155 Год назад +3

      There's two major differences between wavelet transforms (WT) and windowed FTs (say STFT/DFT) that I would highlight, along with their practical implications.
      1) First is the multiresolution, stemming from the non-static frequency-time windows (as you've mentioned). Of course, the obvious benefit is that we can collect more time information at frequencies too high to care about discerning accurately instead of simply dropping all that info, which is great for something like any audio processing with a human auditory factor in it, or anything produced by an animal. But the biggest application is that do all sorts of multiresolution analysis like analysing rapidly changing frequencies without having to run FFT several times per frequency or narrowing your frequency as to lose time information. As it turns out, there's a huge amount of nonstationary signals out there in the real world that this perfectly solves.
      For example, you need to detect gravitational wave which produce a characteristic chirp. Windowed FTs really struggle with these since the output spectrogram ranges from "some ringing artefacting" to "it's literally smaller than my window size". Maybe it shows up somewhat alright, but you may lose some complex features along the way. But if you look at your WT's scalogram, you get a really nice curve, a distinct and empirically detectable feature.
      This actually works really well for all sorts of transients like discontinuities which may go undetected with windowed FTs. This is great for fault detectors. And detecting and characterising heart irregularities or complex brain wave features.
      (Technically, there are multiresolution windowed FTs. One of these was a STFT variant called the Constrant-Q transform, developed before wavelet transforms kicked off in full power around the 2000s. In actuality, this is really close to a modern WT, but had certain downsides that come with a less developed understanding of wavelets, like the difficulty in inverting your signal back and some of the jankery that comes with STFTs.)
      2) The second is the ability to use different wavelets. This is a much more powerful tool than you would expect. Certain mother wavelets are well suited for certain applications, such as Ricker wavelets for superior seismic processing, or Daubechies for closely spaced features and DWT. A lot of work has been done here, so you have a pretty big toolbox for hotswapping wavelets for your needs. The coolest thing is that you can design your own wavelet tailored for pattern matching your known signal or picking out the set of features you want.
      Side note (DWT):
      It's worth noting that there are currently two major categories of WTs, being continuous wavelet transforms (CWT) and discrete wavelet transforms (DWT). Most discussions are implied to be around CWT, since it simply works for both continuous and discrete signals, but DWT offers a whole set of other applications.
      As you can guess, convolution can be an expensive operation. You are comparing every point of some decently long wavelet to an equal number of points, which is done across every point of the input signal. Sure, you can do some optimisations using FFT itself or adjust your wavelet parameters, but CWT is still generally slow enough that you just can't do certain things with it. Not to mention that its extra redundancy (which windowed FTs also have to some extent) leaves some to be desired for speed and memory performance.
      The DWT family of algorithms uses a different approach from raw convolution, instead using a fixed set of child wavelets like a filterbank. It loses its redundancy, limits it to certain mother wavelets, and locks it to frequency-time windows to powers of 2. In exchange, it gains better speed and memory performance in a purely discrete environment, allowing it reach its full practical potential. It turns out that this is often enough (or even ideal) for many digital computing applications. The perfect reconstruction with no redundant information makes it an excellent choice for audio/image compression or performant denoising of images. You'll also find it used in real-time applications where CWT just isn't built for, but require multiresolution that FFT can't provide.
      Damn, that was a long comment.

    • @a52productions
      @a52productions Год назад

      @@MrSonny6155 This was very informative, thank you!

  • @yangruoxuan0516
    @yangruoxuan0516 3 месяца назад

    Amazing ! I've never thought about the relation between "similarity / the dot product" and "the formula of Fourier / wavelet transformations", this video really illuminates that idea! The animations also helps a lot to explain !

  • @Bruno-el1jl
    @Bruno-el1jl 2 года назад +4

    Amazing video!
    Just a remark about 5:25 : it's not that we lose sense of time, rather that the decomposition gives us pure sine waves, meaning they stretch from -inf to inf.

    • @RealNovgorod
      @RealNovgorod 2 года назад +1

      The relative timing of the different sine waves is represented in the phase of the Fourier transform.

  • @sebastiansanfunas4674
    @sebastiansanfunas4674 2 года назад +1

    This video is the best summary of the Fourier Transform I've ever seen, it's given me greater insight into what it even means, and what it's transform cousins are really about.

  • @samizdat_
    @samizdat_ 2 года назад +9

    The legend is back

  • @inversebrah
    @inversebrah 2 года назад +2

    the production quality of this video is mind blowing

  • @sigfyg8384
    @sigfyg8384 2 года назад +89

    Finally a video that uses manim without being a 3b1b clone. There's clearly a distinct personality here through the sound effects, fonts, and animations. Thinking about the "personality" of your math explainer is important, but unfortunately is neglected often.

  • @rasikarawlley6368
    @rasikarawlley6368 5 месяцев назад

    I can substitute this video for entertainment during meals, it's that simplified and fun to watch. Thank you for such videos. I hope your channel grows and reaches wider audience!

  • @flyingsquirrel3271
    @flyingsquirrel3271 2 года назад +3

    This is incredible! Both, the wavelet transform itself and this amazing video explaining it! :D

  • @rodrigoaguilar6228
    @rodrigoaguilar6228 Год назад

    This is the best video I have ever seen not just about signal processing, but about math as a whole. Please, keep on with the amazing work!!

  • @stafan102938
    @stafan102938 2 года назад +78

    Wow man what a video! Can't imagine how much work must have gone into producing such a great explanation of such an interesting and useful technique, really really good job. I'm currently doing a PhD in systems neuroscience and your videos like this really make me feel like I need to up my game when it comes to learning complex topics like this. Convinced I'll find the technique or insight that makes my work next level from this channel, I can't wait to go look into how this has been used. Is this all self researched or do you have a seriously top notch neuroscience professor somewhere?

    • @ArtemKirsanov
      @ArtemKirsanov  2 года назад +56

      Thank you! I really appreciate it!
      Well, I’m doing research in the Laboratory of Extrasynaptic signaling, led by Dr. Alexey Semyanov in Moscow, so I’d say I have really great supervisors ;)
      I’m using Wavelet transform in my work to write code for extraction and analysis of theta rhythms, recorded from hippocampus in freely moving mice. (We are currently preparing a publication on this topic, and I really hope it will be out in a few months)
      But surely writing a video script requires a lot of additional research.
      I feel like only after making the animations and going through the process myself, I can finally understand wavelet transform much better, even though I’ve been routinely using it for almost 2 years now 😅

    • @stafan102938
      @stafan102938 2 года назад +8

      @@ArtemKirsanov Best of luck to you, looking forward to seeing what comes next

    • @samuelequinzi3153
      @samuelequinzi3153 2 года назад +4

      @@ArtemKirsanov same for me in my thesis using wavelets. Your animations are amazing!

  • @sanartvideos
    @sanartvideos 2 года назад

    Dear Artem, your didactics is a kind of world reference of Distance Education. In times of Engineering graduation I asked for a hardcopy of some papers from Bethesda Naval Warfare Center in 1992. I could understand every Transfom expressed there, including FFT, DCT, Eigenvectors (Principal Components) , Hadamard, FIR, IIR, MPG Layer 3, JPG, work signed by Sanjit K Mitra and Charles D Creusere, a great work I think, but just today I could understand the Wavelets. Thank you very much for your precious work! Amazing!

  • @Guido_XL
    @Guido_XL 2 года назад +3

    This is indescribably well explained, I can't thank you enough for this feat!
    I have been looking into this subject for some time every once in a while, but could never accomplish something that could be honestly called a grasp on this matter. My work is related to non-destructive testing and the analysis of acquired signals, so, Wavelet Transform can obviously very much enhance the way in which we handle the signals, store them and derive useful information from them.
    I know that medical ultrasonics is relying heavily on such signal processing, like IQ-demodulation for the sake of Doppler-measurements of blood stream velocity differences. Applied to non-biological targets, we are dealing with different challenges, but Wavelet Transform is bound to improve the way we handle ultrasonic echoes, once we get to harness initial successes on this path.

  • @AnuragMishra-k6q
    @AnuragMishra-k6q Год назад

    This explanation of Wavelets in the context of FT is really superb. Not seen such a basic description of the topic. Several points were not clear to me about wavelets. Now, I get to understand them. Hats Off.

  • @ez5201
    @ez5201 2 года назад +3

    Просто блестящая работа! Спасибо!

  • @MrSaemichlaus
    @MrSaemichlaus 2 года назад +1

    Wow. This is a full lecture with a very effective set of graphics. Well done! I think I understood most of it and was never bored or overwhelmed.

  • @wwmheat
    @wwmheat 2 года назад +3

    Masterpiece, as usual. Спасибо!

  • @holandaraf
    @holandaraf Год назад

    That was honestly the best possible video about the continuous wavelet transform I've ever seen. So much that I wish I had come across this at the time I had to learn about this transform in order to apply it in my masters.
    You completely nailed that explanation about the uncertainty principle when examining the scalogram, that was the highlight of the video to me.
    Please keep up with the great job!!

  • @luiza4142
    @luiza4142 2 года назад +4

    Thanks for nice content dude.I would like to know how to learn this complex topics in neuroscience, math, programming and have one of the best video compositions (about the visual effects and aesthetics as whole)I ever seen on youtube

  • @madlarch
    @madlarch 2 года назад +1

    Over the years, I've made a number of attempts to get the hang of wavelet theory. For the first time, this video gave me some key concepts to get started. Looking forward to exploring all of this and experimenting with it in the context of stock market time series.
    Thank you so much, and kudos for all of the hard work you must have put in to make this truly excellent video !!!

  • @RealNovgorod
    @RealNovgorod 2 года назад +15

    Good introduction to wavelets! But you give the Fourier transform too little credit :).. It DOES contain information about the time sequence/"order" of the frequency components, after all it's a "dual" representation of the time-domain signal, right? That temporal order is contained in the spectral phase - and that's what most people miss about the Fourier transform, since they only plot the magnitude (or power) spectrum but forget about the phase and lose half of the contained information (which happens to be about the timing order).

  • @LeifBent
    @LeifBent 7 месяцев назад

    what an incredibly helpful video!! thank you so much for this

  • @sergniko
    @sergniko 2 года назад +5

    Отличная работа! Все понятно и довольно просто, как для введения в вейвлеты. Спасибо за работу!

  • @ericm.trautmann4753
    @ericm.trautmann4753 2 года назад +1

    I’m blown away by how clear and informative this video was. Nicely done - it’s an inspiration to communicate this clearly.

  • @jvdp9660
    @jvdp9660 2 года назад +5

    8:00 I don't think that uncertainty in the time domain would mean that you're not sure what a value is at a given moment. Rather I see it as when you take a fourier transform of a signal that is defined over a long period of time, it will have a more specific fourier transform. Think of a cosine in the time domain which translates to a delta function in the frequency domain. This function is defined at exactly one value for the frequency. Therefore we observe that the longer and less determined a signal is in the time domain (cosine's domain extends from minus infinity to infinity) , the more determined it gets in the frequency domain and visa versa. The problem therefore is that when you take a fourier transform of a too short signal, that the frequent domain will start to show less specifically which frequencies are contained. That's the trade off you need to make.

    • @THeMin1000
      @THeMin1000 2 года назад

      @pyropulse It have to do with uncertainty if we are taking about uncertainty as given in Information theory tho. Its not exactly the same thing as we consider uncertainty in real life, but what it really says is about information entropy.

    • @RealNovgorod
      @RealNovgorod 2 года назад

      It's very similar to the waterfall spectrograms in audio software (spectrum analyzers). It just shows you the Fourier transform of the X recent milliseconds of the audio signal, so the frequency definition of a pure sine wave will be limited to the inverse of the chunk length in time. Wavelet transform does basically the same in a mathematically smarter way (convolution instead of Fourier transform, though they are very related) using the optimum window shape, which allows for the "dynamic" trade-off between time and frequency resolution. In a simple waterfall-plot spectrum analyzer this trade-off is fixed and defined by the chunk length.

  • @JaGWiREE
    @JaGWiREE 2 года назад

    Several years ago when I started to explore wavelet methods for neuroscience & finance there was almost no materials on RUclips. Seeing this in SOME made me happy. Great video.

    • @JaGWiREE
      @JaGWiREE 2 года назад

      Given the nature of your channel, in the future, if free time permits, I think a video on some of the difficulties particular to neural time series (i.e. non-stationarity, multiscale/multifractal, noisy, etc) and why Wavelets are the perfect tool would be great. Advanced topics could be things like the wavelet transform modulus maxima & singularity spectrum pertaining to various neural time series signal analysis.

  • @ronaldtamsar
    @ronaldtamsar 2 года назад +3

    How about wavelet isit orthogonal matric, like DCT

    • @ArtemKirsanov
      @ArtemKirsanov  2 года назад +1

      If you are using discrete wavelet transform (DWT), then the wavelets of different scales indeed form an orthogonal basis.
      The key difference of DWT, compared to the continuous wavelet transform (which I showed in the video), is that the scale parameter (a) can be varied only discretely, to make sure that wavelets of different scales are orthogonal.
      It depends on the particular application and what type of wavelet you are using. For example, the Morlet is a continuous one, while many other wavelets (such as Haar, Daubechies) are used only in the discrete case

  • @_tavomaciel
    @_tavomaciel 2 года назад

    I don't comment often, but this video deserves it: I got my mind blown twice:
    - dot product = function similarity
    - spectrum analysis = length of the complex wavelet convolution
    thanks for the very entertaining and informative video!!!

  • @brainandforce
    @brainandforce 2 года назад +6

    Oh. My. God. If this video doesn't win SoME2, I'll lose my mind.
    What did you use to make the video?

    • @ArtemKirsanov
      @ArtemKirsanov  2 года назад +4

      Thank you!!
      The basis for animations was done in manim and matplotlib python libraries and Blender for 3D surfaces. Then everything was synced and composed in Adobe After Effects

  • @brandontylerburt
    @brandontylerburt 2 года назад +1

    This is brilliant. Thank you, Sensai. Your ability to explain a complex mathematical principle in a way that makes intuitive sense demonstrates, in addition to intellectual mastery of the material, a rare and humane understanding of the way people embrace and incorporate new information.