Simple code for convolution and a CNN to denoise an image with real-time display in Python / PyTorch

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 2024
  • Code from scratch in Python and PyTorch for a convolutional neural network (CNN) to denoise an image
    Basic principles covered
    Real-time image display

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

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

    My thanks professor Reader, your videos have been a valuable source of information in my understanding of nuclear imaging.

    • @AndrewJReader
      @AndrewJReader  2 ปีที่แล้ว +1

      Thank you, very glad you find my videos helpful

  • @mohsen865
    @mohsen865 2 ปีที่แล้ว +3

    I would like to express my sincere gratitude to you for your fantastic teaching videos that have helped me a lot in implementing projects. you have always inspired me with such easily understanable solutions to complex problems.

    • @AndrewJReader
      @AndrewJReader  2 ปีที่แล้ว +1

      Thank you so much for your feedback, this really means a lot!

  • @ThisIsAli1983
    @ThisIsAli1983 2 ปีที่แล้ว +1

    Thank you Andrew for posting such informative and valuable videos. There is a lack of such content out there. Keep up this great work

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

      Thanks Ali, really appreciate your encouragement.

  • @learn2444
    @learn2444 2 ปีที่แล้ว +1

    You help me a lot to get a good intuition for my programming solutions.
    Keep up you help us a lot

    • @AndrewJReader
      @AndrewJReader  2 ปีที่แล้ว +1

      Very good to know, many thanks for the encouragement

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

    Once again excellent video professor Reader thank you so much

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

      Really appreciate the feedback, many thanks!

  • @zachariaschalampalakis5535
    @zachariaschalampalakis5535 2 ปีที่แล้ว +1

    Thank you for this nice "Behind The Scenes" video.

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

      Glad you found it helpful Zach! Hope all is going well for you.

  • @bourdayrachid3855
    @bourdayrachid3855 2 ปีที่แล้ว +1

    You are the best teacher

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

      Very kind, thanks for the feedback!

  • @usmanahmedawan1171
    @usmanahmedawan1171 2 ปีที่แล้ว +1

    Thank You Professor. It helped a lot in research and implementation.

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

      Glad to hear it was helpful! Thanks for the feedback.

  • @jpbacano
    @jpbacano 3 หลายเดือนก่อน +1

    Nice video, Andrew!
    I just have one question: What would you do if you didn't have the true image?
    Thank you!

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

      Many thanks! You can do a self supervised approach - a very simple example being to artificially create a noisier version of the image that you have, and train the CNN to denoise that back to the version of the image that had not been made noisier. Then use that trained CNN on the original image. But there are other methods that are more sophisticated of course.

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

    Thank you Andrew! That is a very helpful video!

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

      Thanks for the feedback Paulo, good to know this is helpful!

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

    Hi sir your videos are very helpful to understand and learn and is there any books to learn python code for medical image.

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

      Many thanks for your feedback. There are surely books available on this topic, although I have not found one in particular. I will hopefully write my own book at some point....

  • @jeevagasundaram
    @jeevagasundaram 11 หลายเดือนก่อน +1

    Can i use max-pooling as one of the layer here?

    • @AndrewJReader
      @AndrewJReader  11 หลายเดือนก่อน +1

      Absolutely. With max pooling though you need to be careful with the size of the feature maps. In this video I use an image output that is the same size as the input. So if using max pooling or other downsampling methods, then be sure also to up sample to deliver the correctly sized output. Hope that makes sense.

    • @jeevagasundaram
      @jeevagasundaram 11 หลายเดือนก่อน

      @@AndrewJReader thank you professor 👍

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

    👋It is a wonderful video to show the concept. How can I download your code to try it out.

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

      Thanks Steve for your encouraging feedback. I only do these teaching videos for now, with no repository (yet?) of code. The key is to explain the principles really, and encourage people to write their own code.

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

    wish you the best

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

    Thank you so much prof. but how do i convolve image with a kernel matrix using numpy only

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

      Thanks for your comment. You can use numpy arrays with SciPy: docs.scipy.org/doc/scipy/reference/generated/scipy.signal.convolve2d.html

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

    I'm doing project which is similar to this, is there a way to get Kt from you ?

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

      Thanks for the comment - not sure that I can offer dedicated input to a project, but I'm usually able to reply to specific questions here in the comments for the video. Best wishes for your project!

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

    Can i run in notebook ?

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

      You can find how this would be adaptable to a notebook, for example, by checking the last part of this video: th-cam.com/video/IhETD4nSJec/w-d-xo.html It's only the display parts that need to be adapted.