Tutorial 41 - Image filtering using Fourier transform in python

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ม.ค. 2025

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

  • @nayo7888
    @nayo7888 2 ปีที่แล้ว

    This is such an amazing channel. I can’t express how grateful I am for the content.

  • @MC-qz4vw
    @MC-qz4vw 3 ปีที่แล้ว

    You are way better at explaining this stuff than most uni teachers. Thanks!

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

    Thank you very much ! I am completing a bachelor in computer science. I took an optional course about images processing and we had a chapter about Fourier transform. Your video was VERY helpful ! Good job !

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

    You are such a great tutor. Well explained and understood

  • @VanNguyen-yp7cd
    @VanNguyen-yp7cd 2 ปีที่แล้ว +1

    I dont know why error with a same code:
    "dft = cv2.dft(np.float32(img), flags=cv2.DFT_COMPLEX_OUTPUT)
    cv2.error: OpenCV(4.6.0) :-1: error: (-5:Bad argument) in function 'dft'
    > Overload resolution failed:
    > - src is not a numpy array, neither a scalar
    > - Expected Ptr for argument 'src'"

  • @hammadahmed2339
    @hammadahmed2339 3 ปีที่แล้ว +1

    Edges are high frequency components. So to detect edges shouldn't we apply high pass filter? Need help..

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

      Yes, you are right that edges are high frequency components. In the video you can see how blocking the central low frequency components and retaining only high frequency component leads to edge detection. I do realize the mistake in one of slides where it says Low pass instead of high pass (but the accompanying text clearly mentions that high frequencies show edges).

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

      @@ZEISS_arivis btw this is the first tutorial (out of many) where I understood fourier transform for images. Great and easy explanation 🔥

  • @Yaz71023
    @Yaz71023 2 ปีที่แล้ว

    Thank you so much. Your tutorials are well explained. Please keep posting more videos.
    I just have a question. How to determine if an image has a low or high frequency by a value instead of plotting?

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

    Wonderful explanation

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

    After applying Fourier filter, how to save applied images? Converting float 32 to uint8 gives me a weird image.

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

      You can save it using pyplot. I just tried the following and it worked fine.
      plt.imsave('output.tif', img_back, cmap='gray')

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

    why do we need shifting the origin ?

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

      Since the original Discrete Fourier Transform would produce the centers of low frequencies at corners, which was hard to see, we have to shift the these centers to the middle of the image. He explained it here: th-cam.com/video/RVE-CSZijAI/w-d-xo.html

  • @73-sarthakpandey25
    @73-sarthakpandey25 3 ปีที่แล้ว

    Thank you sir for this video.It is really helpful 🔥

  • @the_bruce-z1w
    @the_bruce-z1w 3 หลายเดือนก่อน

    excuse me, you keep saying high-frequency and low-frequency regions. but why didn't you explain low and high frequency in a digital image? In an image, we have pixel values to represent the brightness. How does it translate to low and high frequency?

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

    such a great content!!!!

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

    Thank ou so much! Amazing.

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

    U are great sir

  • @SuddenW1nd
    @SuddenW1nd 2 ปีที่แล้ว

    when doing idft, u can use cv.DFT_SCALE flag to get normalized image
    img_back = cv.idft(f_ishift, flags=cv.DFT_SCALE)

    • @FALLOUTSZZ
      @FALLOUTSZZ 2 ปีที่แล้ว

      you are an absolute legend, thank you for this!!😀

  • @tilkesh
    @tilkesh 2 ปีที่แล้ว

    Thx