26 - Denoising and edge detection using opencv in Python

  Рет қаралды 33,772

DigitalSreeni

DigitalSreeni

Күн бұрын

Cleaning up noise without losing information is important for microscope images (micrographs). This tutorial explains a few ways to perform denoising in openCV. It also explains Canny edge detection, also part of opencv.
The code from this video is available at: github.com/bnsreenu/python_fo...

Пікірлер: 34
@itsallaguesswork6685
@itsallaguesswork6685 4 жыл бұрын
I can't thank you enough!! I'm an electrochemist venturing into microscopy and image processing. These are the best introduction to microscopic image processing with python
@kelvinxie1029
@kelvinxie1029 3 жыл бұрын
I am a TEM person and learned a lot from your videos. I am applying what I have learned from you to my research. Thank you for taking the time and effort to make these amazing videos :)
@poreddyjayaraju5501
@poreddyjayaraju5501 2 жыл бұрын
I am applying what I have learned from you to my research. Thank you for taking the time and effort to make these amazing lessons.
@MrPhilipson00
@MrPhilipson00 3 жыл бұрын
Awesome video. Thanks for putting this, and your stuff, out there! Much appreciated. Thank You!
@sonamchauhan2968
@sonamchauhan2968 4 ай бұрын
Thank you so much sir for making these priceless videos!
@samarafroz9852
@samarafroz9852 4 жыл бұрын
Keep it up I'm learning alot from you.
@inab617
@inab617 4 жыл бұрын
Thank you for such amazing lessons
@Sivachaitanyachaduvula
@Sivachaitanyachaduvula 3 жыл бұрын
Ok
@coffee_Lipe
@coffee_Lipe 4 жыл бұрын
Thank you so much, your work is so useful !
@DigitalSreeni
@DigitalSreeni 4 жыл бұрын
You are welcome!
@nusratrani4590
@nusratrani4590 Жыл бұрын
Thanks for sharing. I am looking for filter or denoising grains image as shared in this video example but also has stress release fractures that cut each other and make close boundaries and resulting in misleading grain size…? I hope I explain my question well.
@yasertoutah3745
@yasertoutah3745 3 жыл бұрын
You're amazing, thank you so much!!
@Garrick645
@Garrick645 Жыл бұрын
I want to do area analysis of particles and phase analysis from an SEM micrograph. I'm facing a problem in separating particles having overlapping areas. Though it identifies individual particles, it also takes their cluster as another separate entity. Any video on that ? I'm new to the channel.
@jayayadav-ih1yz
@jayayadav-ih1yz Жыл бұрын
Hi what is patch size that you had mentioned in the video? Could you please upload a video describing about it.
@rishikasharma7761
@rishikasharma7761 3 жыл бұрын
If i want to remove a black coloured lines from my image then, what is best algorithm should be used ?
@wenbinfei
@wenbinfei 3 жыл бұрын
Thank you for the fantastic tutorials. I have watched tutorial 16 to 26. These tutorials deal with 2D images. My project uses 3D tif. Do the functions in these tutorials also work for 3D images? Do you have a guide about it?
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
I will record a video on how to work with 3D images. Until then, here is some info... 2D images have numpy array shape as (x, y) for gray images and (x, y, RGB) for color images. 3D images typically have structure (z, x, y) for gray and (z, x, y, RGB) for color image stacks. Most opencv and scikit-image functions are designed for 2D images. Therefore you need to read one slice at a time inside a for loop and apply the image processing function. Easier than it sounds... If I have an image of size (50, 256, 256) - 50 slices gray. If I want to apply threshold to the entire volume, slice by slice. binary_img = [] for img in range(image.shape[0]: #This would be 50 in our example input_img = image[img, :, :] #Define temporary image slice name thresh = 75 #Or use otsu binary = input_img > thresh binary_img.append(binary) #Add binarized slice to our placeholder list. processed_img = np.array(binary_img) #Convert to numpy array #Now save to a tiff file if you want.
@wenbinfei
@wenbinfei 3 жыл бұрын
@@DigitalSreeni Thanks for the reply. My concern is that is processing images slice by slice may be not the same as using a real 3D filter. For example, Imagej provides both 2D and 3D Gaussian filters. In 3D Gaussian filters, sigma can be assigned to x, y and z. However, in Scikit-image, it seems that only one sigma can be defined. Also, I think 2D watershed can not assigned the same grain in different slices the same label as 3D watershed does. From Scikit-image docstring, its watershed works for both 2D and 3D images but not sure how it works.
@yusdiansyaputra7333
@yusdiansyaputra7333 2 жыл бұрын
how to check noise in image?
@sarithamiryala2819
@sarithamiryala2819 4 жыл бұрын
Good video
@user-tv4zk4tm4n
@user-tv4zk4tm4n 9 ай бұрын
thanks sir~!
@ricky9699
@ricky9699 2 жыл бұрын
Do you have an image processing code to detect the dead pixel in an image ?
@DigitalSreeni
@DigitalSreeni 2 жыл бұрын
If you want to clean dead pixels you can use median filter. If you want to detect the location of dead pixels then you need to write code to run median filter and identify hot spots. I do not have anything ready on this topic.
@rashmiperera1093
@rashmiperera1093 2 жыл бұрын
Can I know if there are techniques to detect types of noise in an image. Say for a real dataset of satellite images...how do I find out what filters to use?
@DigitalSreeni
@DigitalSreeni 2 жыл бұрын
In almost all cases, you assume that noise is unstructured, which means it is random. This gives you a few choices. I recently gave a keynote presentation on this topic, here is the link. kzfaq.info/get/bejne/r7VhaKx6uL6lYY0.html
@rashmiperera1093
@rashmiperera1093 2 жыл бұрын
@@DigitalSreeni Thank you so much sir
@csprusty
@csprusty 2 жыл бұрын
But why do we denoise the images? What is the purpose?
@Learning_Electr0nics
@Learning_Electr0nics 3 жыл бұрын
Sir ,but how i can de-noise the folder which contains 10 noisy images..??? Means my question is how can we de-noise the 10 images at a time.???
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
Use glob or os.listdir to read multiple files from a directory and applying a function. I recorded a couple of videos for my work channel, may be they can help. kzfaq.info/get/bejne/kJ9gfqiir9WnY6s.html kzfaq.info/get/bejne/oJx3gdei193Hfnk.html
@Learning_Electr0nics
@Learning_Electr0nics 3 жыл бұрын
@@DigitalSreeni Sir it gives error when I apply filter to os.listdir(). So can you please give me code for that. Actually I am not able to apply the function to os.listdir
@Learning_Electr0nics
@Learning_Electr0nics 3 жыл бұрын
@@DigitalSreeni I have 1 folder which 8 folders in it and each one contains images. Actually I have a multiclass dataset. So I want to apply denoise function to training dataset as well as validation dataset. So please give a code for that.
@MohammadShikhar
@MohammadShikhar 3 жыл бұрын
Sir, can you kindly make a video on 'Anisotropic Defusion Filter' please?? I'm searching for this for a long time but not getting good enough documents or tutorials for python. I would be a huge help and thanks a lot for the tutorials. These helped me a lot in preparing my final year project. :)
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
Did you try medpy library, I remember them having a 2D version of that filter.
@jabedahammed7932
@jabedahammed7932 4 жыл бұрын
Great
27 - CLAHE and Thresholding using opencv in Python
20:32
DigitalSreeni
Рет қаралды 21 М.
MISS CIRCLE STUDENTS BULLY ME!
00:12
Andreas Eskander
Рет қаралды 8 МЛН
Зачем он туда залез?
00:25
Vlad Samokatchik
Рет қаралды 3,2 МЛН
Gym belt !! 😂😂  @kauermtt
00:10
Tibo InShape
Рет қаралды 12 МЛН
Brief Introduction to Image Denoising
20:03
Anjuna CFX
Рет қаралды 8 М.
Finding the Edges (Sobel Operator) - Computerphile
7:46
Computerphile
Рет қаралды 495 М.
Detect Edges with OpenCV and Python | Computer Vision Tutorial
20:47
Nicholas Renotte
Рет қаралды 29 М.
Image Processing with OpenCV and Python
20:38
Rob Mulla
Рет қаралды 141 М.
Canny Edge Detector - Computerphile
7:51
Computerphile
Рет қаралды 356 М.
Object Detection using OpenCV | Python | Tutorial for beginners 2020
29:29
DeepLearning_by_PhDScholar
Рет қаралды 237 М.
Make Images Readable Again in Python
14:46
NeuralNine
Рет қаралды 20 М.
Как удвоить напряжение? #электроника #умножитель
1:00
Hi Dev! – Электроника
Рет қаралды 968 М.
Top 50 Amazon Prime Day 2024 Deals 🤑 (Updated Hourly!!)
12:37
The Deal Guy
Рет қаралды 1,4 МЛН
Смартфон УЛУЧШАЕТ ЗРЕНИЕ!?
0:41
ÉЖИ АКСЁНОВ
Рет қаралды 1,2 МЛН
Look, this is the 97th generation of the phone?
0:13
Edcers
Рет қаралды 5 МЛН