Image Processing with Fourier Transform

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

Комментарии • 59

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

    You sir are a legend. I was struggling to find out what the FT outputs meant until one video (your video) labeled the axis like a legend. It's the simple details that count. Thank you :)

  • @zephyr707
    @zephyr707 6 лет назад +78

    2:16 did you have a cup of coffee? thanks for the vid

    • @siddthesquid
      @siddthesquid  6 лет назад +25

      Lmao I am not a very good editor (made in movie maker). When I made this (for a school project), I had to choose "Do I record it again and make it sound consistent or go to sleep a couple minutes earlier?"... now you know what I chose.

    • @zephyr707
      @zephyr707 6 лет назад +6

      Sidd Singal haha thanks for the honesty. i’d choose rough better content over polished junk content any day, so just keep pumping out the good stuff, cheers

  • @guidoferri8683
    @guidoferri8683 5 лет назад +5

    Thanks, I finally understood how an image can be elaborated as a signal

  • @WetTheSystem
    @WetTheSystem 5 лет назад +10

    Great job on your project. This was genuinely instructive.

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

    Great! I was looking for a good explanation on these stuff. Using FT for images has always been just a useful tool without deeply understanding the stuff. The not about square having to opposite sides is very useful! And the application of LP/HP filters even more!

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

    Great explanation. It just feels like everything 'clicks' now

  • @cloudywithachanceofparticl2321

    Really nice and easy to follow. I hope you got an A!

  • @daesoolee1083
    @daesoolee1083 4 года назад

    great video with "good examples". Thank you a lot :)

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

    Really cool stuff. Thanks.

  • @aminzar446
    @aminzar446 5 лет назад

    Can we use fourier transform on waves regardless of their frequencies, if yes, how? sorry English isn't my first language.

  • @raunaquepatra3966
    @raunaquepatra3966 3 года назад

    Should not the filter shapes be square instead of circles?🤨

  • @drinkingguy3168
    @drinkingguy3168 9 месяцев назад

    Thanks a lot mate, no wonder why this vid has 150k views

  • @okboing
    @okboing 4 года назад

    Could you take a simple image and stack the sine waves on each other until you get that image?

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

    4:45 the pictures start looking better after fixed the little touch up
    🤣🌻

  • @ahamedmaududi
    @ahamedmaududi 7 лет назад +1

    i want to construct image using fft values is that possible?

  • @QuyetNguyen-sg9dq
    @QuyetNguyen-sg9dq 3 года назад

    how to do match between input image and template image? if I use FFT

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

    Thank you very much😌

  • @MurtazaSharoo
    @MurtazaSharoo 7 лет назад

    thank yoku sir. Since I have just started learning fourier optics, I have a question in mind. Is the fourier transform of an image of an object similar to the diffraction pattern of that object? Are these two 'one and the same thing'? 'Coz I have seen the diffraction patterns of a triangular object (in a book), and the pattern is same as the fourier transform of the trianular image u have shown in the video. Plz correct me if I'm wrong.

    • @siddthesquid
      @siddthesquid  7 лет назад

      You know, looking at ocw.mit.edu/courses/mechanical-engineering/2-71-optics-spring-2009/video-lectures/lecture-17-fraunhofer-diffraction-fourier-transforms-and-theorems/MIT2_71S09_lec17.pdf, i think you might be right. But I can't tell you that with certainty; I am not very familiar with optics and signal processing in general is not my main area of study.

    • @MurtazaSharoo
      @MurtazaSharoo 7 лет назад

      Anyway, thanks for the material, Sir.

    • @capitaneuvsATtube
      @capitaneuvsATtube 6 лет назад

      It depends which diffraction regime you are talking about. If you are "close to the object" (near field) then the answer is NO: diffraction resembles more the object than its FT. If you are far away from the object (in the Far Field) than the diffraction pattern is the squared modulus of the FT of the object.

  • @navid9852
    @navid9852 3 года назад

    Great presentation

  • @jimiminton8309
    @jimiminton8309 5 лет назад +1

    How are you still Singal?

    • @siddthesquid
      @siddthesquid  5 лет назад

      Makes for some good pick up lines ;)

  • @daniarevalo9880
    @daniarevalo9880 4 года назад

    Could You share your resources? Books?

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

    Thank you very much for this explanation. I was wondering if you could help me with a question. I wrote the code for 2D sine wave and I got two dots instead of a whole line. Am I doing something wrong or did you use some other function?

  • @sau002
    @sau002 3 года назад

    Nice presentation

  • @MrZiluc
    @MrZiluc 7 лет назад +2

    Thanks a lot, I wanna perform this in OpenCV

    • @stevescott1032
      @stevescott1032 6 лет назад

      I was looking for the same thing. You figure it out?

  • @sandeesh1681
    @sandeesh1681 6 месяцев назад

    very use full .............

  • @davidgmos
    @davidgmos 6 лет назад

    Great work!

  • @sarrae100
    @sarrae100 3 года назад

    Intuitive and efficient

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

    Can anyone here help me, I have an image that I want processed and enhanced but I do not know who to contact, I cannot find anyone who offers this service, I would be very grateful for help, thank you.

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

      what kind of image enhancements are you looking for? it's unlikely you'll be able to get decent help here in the comments section of my video (this video is educational and might be missing some critical practical details that i dont know anything about), but maybe posting on reddit or a similar forum board might help you find someone more knowledgeable

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

      @@sidds5039 I have a now digital image of a photograph, I can enlarge it and see details but i want to be able to see those details more clearly so I am assuming it needs to be enhanced, I have tried myself every which way and although I can improve it i am not happy with the results and would prefer that someone who knows what they are doing to have a go. I was hopeful of some kind of professional service but have been turned away by forensic analysis and now searching alterative means, any help or advice would be much appreciated, thank you for your response

  • @MiguelRodriguez-rn1cw
    @MiguelRodriguez-rn1cw 7 лет назад

    What is the code matlab in Amplitude y phase?

    • @siddthesquid
      @siddthesquid  7 лет назад

      github.com/ssingal05/ImageTransformer
      All the code is in Python though. I added this link to the project description.

  • @markusjansevanrensburg9329
    @markusjansevanrensburg9329 8 лет назад

    Could you maybe share the code you used?

    • @siddthesquid
      @siddthesquid  8 лет назад +2

      I have not gone too far in the way of documentation, but here is all the code. github.com/ssingal05/ImageTransformer. You can PM me if you have questions!

  • @hasanbisri9555
    @hasanbisri9555 5 лет назад +1

    Sayang sekali bhs inggris saya buruk sekali..???

    • @siddthesquid
      @siddthesquid  5 лет назад

      Apakah Anda perlu bantuan untuk memahami semua ini? (Saya menggunakan Google Translate)

  • @JoaoHenrique-su8sq
    @JoaoHenrique-su8sq 6 лет назад +1

    hey man.. i got your code and after install all packges, i executed, but showFourier() isn't working.. the figure window is blank and my prompt says: "C:\Python27\lib\site-packages\scipy\fftpack\basic.py:160: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.
    z[index] = x" and finally "The system can not find the file specified" after many lines of attempts

    • @sidds5039
      @sidds5039 5 лет назад +1

      I was probably using a different version of scipy when I created this. You might have to modify some code. Do you have a larger stacktrace?

    • @JoaoHenrique-su8sq
      @JoaoHenrique-su8sq 5 лет назад

      @@sidds5039 yep.. now is hard to me send you, but later I can do this..

    • @JoaoHenrique-su8sq
      @JoaoHenrique-su8sq 5 лет назад

      @@sidds5039 dontpad.com/showFourier, in this link i post my stacktrace..

    • @sidds5039
      @sidds5039 5 лет назад +1

      @@JoaoHenrique-su8sq Sorry for the slow responses, I have been busy. I tried to download my code and re-run it with then newer packages, and am getting the same errors as you. I'll try to debug further, but it at least looks like I'm trying to do integer indexing using doubles on around line 75. I'll probably have to come back to this in a couple of days.

    • @JoaoHenrique-su8sq
      @JoaoHenrique-su8sq 5 лет назад

      @@sidds5039 ok no problem thanks for all.. any news comments here pls..

  • @ttw06090
    @ttw06090 4 года назад

    Cool Video

  • @mima4911
    @mima4911 7 лет назад

    Thank you,i want the code of FFT in c++ if you can help me sir.

    • @siddthesquid
      @siddthesquid  7 лет назад

      I honestly do not have the motivation to rewrite this in C++, but this looks like a good library that you can use: www.fftw.org/ .... the python code should be somewhat readable but basically all you need to do is:
      1. Import a picture as an array of RGB integer values
      2. Perform FFT on the arrays using the library (theres three arrays, one for each of RGB)
      3. Probably do some normalization
      4. Filter out whatever you want (the center portion, outer portion, maybe a bandpass filter)
      5. Do the inverse Fourier transform using that library
      6. Display the new image

    • @mima4911
      @mima4911 7 лет назад

      Thank youuu very much.

  • @DennisDaMennis95
    @DennisDaMennis95 8 лет назад

    Nice video

  • @mohammadkarami8984
    @mohammadkarami8984 4 года назад +1

    Wake up man!