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

  Рет қаралды 5,326

Andrew Reader

Andrew Reader

Күн бұрын

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
@jpbacano
@jpbacano 4 ай бұрын
Nice video, Andrew! I just have one question: What would you do if you didn't have the true image? Thank you!
@AndrewJReader
@AndrewJReader 4 ай бұрын
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.
@mohsen865
@mohsen865 2 жыл бұрын
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 жыл бұрын
Thank you so much for your feedback, this really means a lot!
@manolisnikolakakis7292
@manolisnikolakakis7292 2 жыл бұрын
My thanks professor Reader, your videos have been a valuable source of information in my understanding of nuclear imaging.
@AndrewJReader
@AndrewJReader 2 жыл бұрын
Thank you, very glad you find my videos helpful
@manigandanshanmugam4686
@manigandanshanmugam4686 Жыл бұрын
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....
@usmanahmedawan1171
@usmanahmedawan1171 2 жыл бұрын
Thank You Professor. It helped a lot in research and implementation.
@AndrewJReader
@AndrewJReader 2 жыл бұрын
Glad to hear it was helpful! Thanks for the feedback.
@manolisnikolakakis7385
@manolisnikolakakis7385 Жыл бұрын
Once again excellent video professor Reader thank you so much
@AndrewJReader
@AndrewJReader Жыл бұрын
Really appreciate the feedback, many thanks!
@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.
@ThisIsAli1983
@ThisIsAli1983 2 жыл бұрын
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 жыл бұрын
You help me a lot to get a good intuition for my programming solutions. Keep up you help us a lot
@AndrewJReader
@AndrewJReader 2 жыл бұрын
Very good to know, many thanks for the encouragement
@jeevagasundaram
@jeevagasundaram Жыл бұрын
Can i use max-pooling as one of the layer here?
@AndrewJReader
@AndrewJReader Жыл бұрын
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 Жыл бұрын
@@AndrewJReader thank you professor 👍
@zachariaschalampalakis5535
@zachariaschalampalakis5535 2 жыл бұрын
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.
@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!
@bourdayrachid3855
@bourdayrachid3855 2 жыл бұрын
You are the best teacher
@AndrewJReader
@AndrewJReader 2 жыл бұрын
Very kind, thanks for the feedback!
@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!
@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: kzbin.info/www/bejne/f5mohXdqo7h9m8U It's only the display parts that need to be adapted.
@mohsen865
@mohsen865 2 жыл бұрын
wish you the best
@AndrewJReader
@AndrewJReader 2 жыл бұрын
Thank you again Mohsen
规则,在门里生存,出来~死亡
00:33
落魄的王子
Рет қаралды 26 МЛН
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 50 МЛН
РОДИТЕЛИ НА ШКОЛЬНОМ ПРАЗДНИКЕ
01:00
SIDELNIKOVVV
Рет қаралды 2,8 МЛН
Vizualizing convolution filters in python (tutorial)
20:39
Dave's Space
Рет қаралды 14 М.
Brief Introduction to Image Denoising
20:03
Anjuna CFX
Рет қаралды 8 М.
293  - Denoising RGB images using deep learning (Noise2Void)
24:02
DigitalSreeni
Рет қаралды 8 М.
What do filters of Convolution Neural Network learn?
12:10
CodeEmporium
Рет қаралды 33 М.
87 - Applications of Autoencoders - Denoising using custom images
19:48
Why Does Diffusion Work Better than Auto-Regression?
20:18
Algorithmic Simplicity
Рет қаралды 328 М.
规则,在门里生存,出来~死亡
00:33
落魄的王子
Рет қаралды 26 МЛН