Image Processing with Fourier Transform

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 พ.ค. 2016
  • Sidd Singal
    Signals and Systems
    Spring 2016
    All code is available at github.com/ssingal05/ImageTra...
  • บันเทิง

ความคิดเห็น • 58

  • @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 :)

  • @WetTheSystem
    @WetTheSystem 5 ปีที่แล้ว +10

    Great job on your project. This was genuinely instructive.

  • @themetalcommand
    @themetalcommand 3 ปีที่แล้ว +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!

  • @guidoferri8683
    @guidoferri8683 5 ปีที่แล้ว +5

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

  • @daesoolee1083
    @daesoolee1083 3 ปีที่แล้ว

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

  • @refiantodamaidarmawanipb4229
    @refiantodamaidarmawanipb4229 4 ปีที่แล้ว +2

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

  • @cloudywithachanceofparticl2321
    @cloudywithachanceofparticl2321 ปีที่แล้ว

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

  • @zephyr707
    @zephyr707 5 ปีที่แล้ว +76

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

    • @siddthesquid
      @siddthesquid  5 ปีที่แล้ว +24

      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 5 ปีที่แล้ว +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

  • @okboing
    @okboing 4 ปีที่แล้ว

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

  • @ahamedmaududi
    @ahamedmaududi 7 ปีที่แล้ว +1

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

  • @davidgmos
    @davidgmos 6 ปีที่แล้ว

    Great work!

  • @aminzar446
    @aminzar446 5 ปีที่แล้ว

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

  • @QuyetNguyen-sg9dq
    @QuyetNguyen-sg9dq 3 ปีที่แล้ว

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

  • @navid9852
    @navid9852 3 ปีที่แล้ว

    Great presentation

  • @guliyevshahriyar
    @guliyevshahriyar 10 วันที่ผ่านมา

    Thank you very much😌

  • @raunaquepatra3966
    @raunaquepatra3966 3 ปีที่แล้ว

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

  • @daniarevalo9880
    @daniarevalo9880 4 ปีที่แล้ว

    Could You share your resources? Books?

  • @sarrae100
    @sarrae100 3 ปีที่แล้ว

    Intuitive and efficient

  • @sandeesh1681
    @sandeesh1681 3 หลายเดือนก่อน

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

  • @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?

  • @franciscomolano5202
    @franciscomolano5202 ปีที่แล้ว

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

  • @sau002
    @sau002 3 ปีที่แล้ว

    Nice presentation

  • @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.

  • @ttw06090
    @ttw06090 4 ปีที่แล้ว

    Cool Video

  • @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?

  • @drinkingguy3168
    @drinkingguy3168 6 หลายเดือนก่อน

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

  • @DennisDaMennis95
    @DennisDaMennis95 7 ปีที่แล้ว

    Nice video

  • @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!

  • @jimiminton8309
    @jimiminton8309 5 ปีที่แล้ว +1

    How are you still Singal?

    • @siddthesquid
      @siddthesquid  5 ปีที่แล้ว

      Makes for some good pick up lines ;)

  • @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.

  • @Expose2
    @Expose2 ปีที่แล้ว

    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 ปีที่แล้ว +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 ปีที่แล้ว

      @@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

  • @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 5 ปีที่แล้ว +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..

  • @mohammadkarami8984
    @mohammadkarami8984 4 ปีที่แล้ว +1

    Wake up man!