182 - How to batch process multiple images in python?

  Рет қаралды 20,527

DigitalSreeni

DigitalSreeni

Күн бұрын

Пікірлер: 75
@sahars878
@sahars878 3 жыл бұрын
Sir Your tutorials are really amazing and I really learned many many things from you as a Computer engineering student. I wish I could become like you someday: A Good Person who has lots of KNOWLEDGE. Thank you so much...
@kannanv9304
@kannanv9304 3 жыл бұрын
I had understanding issues in bulk processing of images and while searching your channel, got into this........Just to ensure, I learn it first time exactly the way you taught, I replicated the same kind of folders, images, and including Tif Stack image and it took me around 2 hours from start to end......Have a hang of it, but must practice more times to gain speed in this.......At 21.40, you mentioned it trivial.......But nothing is trivial in these Ajarn........My humble pranams as always......
@RowzatFaiz
@RowzatFaiz 4 жыл бұрын
I don't know how to thank you enough Sir! Your videos are like answer to all my confusions. Thank you so much for all the great work you are doing.
@DigitalSreeni
@DigitalSreeni 4 жыл бұрын
You are very welcome Rowzat. Please keep watching.
@zhihengchen551
@zhihengchen551 3 жыл бұрын
Thank you, respect from a Chinese student! your work is very outstanding。
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
Thank you very much!
@mhaidar82
@mhaidar82 2 жыл бұрын
Thank you very much Sreeni !! I just made my very first loop to process 370 images. I really appreciate your effort for making this video
@zakirshah7895
@zakirshah7895 4 жыл бұрын
Happy to see you Back Teacher. You are my Inspiration
@DigitalSreeni
@DigitalSreeni 4 жыл бұрын
Thank you! 😃
@poornimahn
@poornimahn 2 жыл бұрын
Hi Sreeni,, I am a beginner to py prog. This video helped me a lot . Thanks for your valuable videos.........
@aitorthaddeus
@aitorthaddeus 3 жыл бұрын
Great great tutorial, i truly appreciate your work. Just started with microscopy work and it has proven to be very useful
@homa_ghaiedi2626
@homa_ghaiedi2626 3 жыл бұрын
Hi Sreeni, thank you so much for these great videos. I have 100 images taken by a microscope, and want to take Fourier transformation for them and apply a numerical integral over the difference values over time, I would be appreciated if you could help me with that. I tried so hard, but cannot figure it out.
@pranavbapat1909
@pranavbapat1909 3 жыл бұрын
Awesome video. A lot of basic things explained in detail. Much to learn from it. Thank you.
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
Glad you enjoyed it!
@hassanmusa155
@hassanmusa155 2 жыл бұрын
Great tutorial indeed thank you for the effort. Please is there any other tutorial where you talked about multiple images registration? especially geospatial images. Secondly, is this process under deep learning
@texasfossilguy
@texasfossilguy 2 жыл бұрын
Amazing again Exactly what I needed!
@vidulakamat6564
@vidulakamat6564 2 жыл бұрын
Great tutorial. Thank you so much. How can we handle categorical features in multi variate time series scenario? Label encoding categorical column and then scaling it along with other numerical features or OHE ? If number of categories are more than 30 or so, OHE would increase size of data frame.
@luthmalik5502
@luthmalik5502 2 жыл бұрын
Thank you for your explanation, it's really helpful to do my dissertation. One thing that I am confused about is how can I save the processed images back to original name + str()? Ive tried to find your video about glob as you mention but I cant find it anywhere. Thank you once again!
@fangao2332
@fangao2332 3 жыл бұрын
brilliant job! I have learned a lot from the videos. I am doing the vesicle fluctuation analysis by python. need to deal with thousands of images at one moment. for this time, I added the Sobel method into each image process. I got the two lines for each circle edge, which should be from the bright one and the dark one (phase contrast microscopy). how could I remove one of the two lines....many thanks.
@datasciyinfo5133
@datasciyinfo5133 3 жыл бұрын
Thanks! Great help filling in the missing parts from other online courses. I was working on this part. A small correction, “pwd” is “print working directory,” copied from a Unix bash command.
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
I'm not sure what I said about 'pwd' but you are correct, the command 'pwd' will print the present working directory on the screen. Thanks.
@leamon9024
@leamon9024 2 жыл бұрын
Hi, awesome tutorial! Thanks. I have one question though. What if I have multiple RGB images as one input, and how should I combine / overlap them correctly to train a convolutional neural network? Ex: The shape of one image is (24,24,3). If I combine four of them, the shape would be (24,24,12)?
@sravanjosh1218
@sravanjosh1218 2 жыл бұрын
I believe it needs an additional dimension. The shape of one array with only one 3 channel image would be [1,24,24,3] and when you have four images you would have [4,24,24,3]
@quarkplankton
@quarkplankton 2 жыл бұрын
Thanks so much for the awesome tutorial! I just had one question though, I am using colored images as my input, but then when I finish the output is grayscale. I saw that you said to add 1 more dimension in the array for the color, but how does that work exactly? I could not get it to work even after changing images_llist[image,:,:,:]
@jovangarcia2935
@jovangarcia2935 2 жыл бұрын
hello sir how can i copy the same file name from the original to the modified image? thank you!
@venkatesanr9455
@venkatesanr9455 4 жыл бұрын
Hi Sreeni sir, I have learnt a lot from your videos and I like you to teach us the tricks like this which will be helpful for the beginners (like me). I have involved recently in cancer detection (based on images) using image segmentation (But I am from other speech-related domain) and I believe masks creation and collecting images will be challenging for the tasks. 1.Can you share any tools that will be helpful for mask creations (like Apeer) 2. Experimenting purpose datasets That will be helpful as a beginner. Thanks
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
I am sorry, I do not have much experience nor do I know of any resources on speech related deep learning.
@venkatesanr9455
@venkatesanr9455 3 жыл бұрын
@@DigitalSreeni Hi Sreeni sir, I have said that I am from the speech domain. Currently, Working on cancer detection related tasks and I am a beginner in image segmentation. I have requested inputs on the above image segmentation task, not on the speech task
@MeganHeath52
@MeganHeath52 2 жыл бұрын
Thank you !! Love your videos they are my favorite ❤
@murushyam
@murushyam 4 жыл бұрын
I love all you videos❤️ .. could you please make video on times series image prediction/forecasting with lstm?
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
Never tried but good suggestion. I will add to the list.
@BrunoGocan
@BrunoGocan 3 жыл бұрын
Thank you much for your tutorials! By the way, regarding the feature extraction stage, I recently saw one of your videos where you can use gabor features and export them to a csv file for one image. What should I do if I wanted to iterate, say, over 100 images and have those features exported to the same csv file?
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
I covered it in many of my videos. For example, the one where I explained feature based image segmentation uses Gabor to capture filtered images into a pandas dataframe. Youc an easily save the dataframe into a csv file. Here is one of those videos: kzbin.info/www/bejne/qXWVqX9pa72Xq5I
@homa_ghaiedi2626
@homa_ghaiedi2626 3 жыл бұрын
Could you please give me the link to the other two videos on GLOB and OS? I cannot find them among your videos.
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
I covered these topics in this video but if you want separate videos, here are the links to the ones I created under my work account: kzbin.info/www/bejne/kGqTfHinf9R2adk kzbin.info/www/bejne/oGeqf6enp9yWhKc
@marzantasnimoyshi441
@marzantasnimoyshi441 2 жыл бұрын
Thank you so much for this tutorial. This helped a lot!
@DigitalSreeni
@DigitalSreeni 2 жыл бұрын
Glad it helped!
@xaqibashraf8470
@xaqibashraf8470 3 жыл бұрын
Thanks a lot for this video Sir. I am very new at image processing. I have a question I have, say 100 images, and the camera position is fixed. The images are of soil moving very slightly in a box. Which one of your lectures would be best to carry out analysis such that I get a video of all images where soil particles are moving. Also if I know the grid size how can I determine the amount of movement let's say in mm. Thanks and regards
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
I am not sure if I have a specific video that addresses your problem. Normally you have algorithms for object tracking where you segment objects and track them when they move. I am not sure how to do the same for soil where everything may look the same and sometime things move.
@xaqibashraf8470
@xaqibashraf8470 3 жыл бұрын
@@DigitalSreeni actually i have placed small white particles big enough to be seen by naked eye. And they are placed in a grid of 5cm. So i thought you could help me tracking those particles through python. Nonetheless thanks for replying. And i highly appreciate your efforts. Regards
@Bell0
@Bell0 3 жыл бұрын
Thank you very Much! this is just exactly what I was looking for! Much appreciatet and perfect for a beginner like me :)
@ernestiu7398
@ernestiu7398 4 жыл бұрын
Hi Sreeni! Good to see you back again. Can you make a tutorial on how to use PCA to speed up traditional ML?
@ernestiu7398
@ernestiu7398 4 жыл бұрын
nvm, i realized you already did a few videos on that... Thanks so much!!
@knowledgehub9711
@knowledgehub9711 2 жыл бұрын
sir can you suggest me how i can stitch multiple images as single image.
@bellooluwaseyi4193
@bellooluwaseyi4193 3 жыл бұрын
This is a wonderful video. Kudos to you. Please, could you make a video on how to find an average on different multiple similar images and form a template matching from the resulting image?
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
I am not sure what you are recommending. When you average multiple images you will either get garbage if images are different or a denoised image if images are all showing same field. Why is this related to template matching?
@bellooluwaseyi4193
@bellooluwaseyi4193 3 жыл бұрын
I am working on the hand region for recognition for the sign, I used canny edge detection to detect the edges in the image. So, my intention is to form a matching template from the acquired images (training dataset). That's the reason I was thinking of averaging images. What are better ways rather than using the area?
@umairsabir6686
@umairsabir6686 4 жыл бұрын
Hi, can you please make a video on how to implement data augmentation for semantic segmentation in keras. As you mentioned last time that Keras ImageDataGenerator changes the values of the masks while transforming. Did you find any solution for that ? I am still looking for a solution of how to apply augmentation on the fly. Thanks
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
I will record a video but please try albumentations library. Their documentation is very helpful.
@umairsabir6686
@umairsabir6686 3 жыл бұрын
​@@DigitalSreeni Thanks. BTW I applied Keras Image Generator on the fly for semantic segmentation binary classification. I could share with you. Please send me an email on umairsabir21@gmail.com
@sciencelogs
@sciencelogs 3 жыл бұрын
Thank you very much for your videos. I am a neuroscientist who has benefit a lot from your tutorials. I would like to respectfully make a request. I have always imagined being able to subtract the background from my microscopy images, through the patterns of a negative control image, i.e. an image that shows me all the autofluorescence and noise, but not the cells of interest. In other words, to tell the computer: "This is how a typical image without cells will look like, now, subtract that from my images containing cells". It will be possible? Thanks
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
You seem to be referring to subtracting a background image from another image, if so this is a simple task of just subtracting 2 images. If you are referring to background and other features as features that are not of interest compared to cells, you can train a binary classifier with your cells as objects and everything else as background.
@ghostxy_95
@ghostxy_95 3 жыл бұрын
How to add another dimension for color?
@niluparupasinghe6345
@niluparupasinghe6345 3 жыл бұрын
Hi can you do a tutorial to show how to create batched dataset for semantic segmentation using images stored locally rather than importing them to a numpy array. Because if we have 10k images we cant get them all to a numpy array.
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
This will be the topic of my upcoming video which will be numbered 222. Please stay tuned and hopefully you subscribed to the channel.
@niluparupasinghe6345
@niluparupasinghe6345 3 жыл бұрын
@@DigitalSreeni Wow can't wait to watch it. Thank you for sharing your work & knowledge...
@mohamedtouati9663
@mohamedtouati9663 4 жыл бұрын
how can i work on diabetic retinopathy images detection with segmentation techniques ?
@DigitalSreeni
@DigitalSreeni 4 жыл бұрын
You need deep learning to get robust results. Here is a great paper on this topic. I will try to create a video on this in a few weeks. arxiv.org/pdf/2003.02261.pdf
@1UniverseGames
@1UniverseGames 4 жыл бұрын
Really awesome Sir, I'm learning a lot by watching this channels videos day by day. Sir I need a suggestion on one thing. If I want to work on such Research topics and need to Draw or design nice quality picture or architecture like some research articles, what Software or Tool I should use to draw those. (Except PowerPoint is there any other options that could be helpful for newbie students to work on it. Thank you 😊
@DigitalSreeni
@DigitalSreeni 4 жыл бұрын
People normally use Microsoft Visio for drawing. A quick google search for free alternatives gave me this page: www.maketecheasier.com/5-best-free-alternatives-to-microsoft-visio/
@1UniverseGames
@1UniverseGames 4 жыл бұрын
@@DigitalSreeni thank you so much sir. Much helpful advice from you. Very much grateful 😊
@nirmaladhikari4095
@nirmaladhikari4095 4 жыл бұрын
Very informative video, is it possible to build 3D image by combining series of 2D images in python? like making tomographic view with various slices of 2D images. I would appreciate if you can make video tutorial on it. Thanks
@DigitalSreeni
@DigitalSreeni 4 жыл бұрын
By stacking a bunch of 2D slices (in numpy) wouldn't it effectively become a 3D image? If you are talking about using individual images of 2D projections (e.g. from x-ray) to reconstruct 3D volume then you can definitely do it. For that you need to know the theory behind FDK or iterative reconstruction. By the way, if you have segmented 2D images you can stack them to combine 2D segmented objects into 3D objects. We have a module on APEER exactly to do this task. www.apeer.com/app/modules/Measure-3D-Objects-Parameters/c0402c81-af4a-4143-88dd-fa40717df8f1
@nirmaladhikari4095
@nirmaladhikari4095 4 жыл бұрын
@@DigitalSreeni Thank you. It looks like stacking 2D slices in numpy or the module in APEER should work.
@desireeannevillanueva919
@desireeannevillanueva919 3 жыл бұрын
Hello SIr! Thanks for this great video! I actually tried this on my ultrasound images, the code is working but it's not saving the files into the specified path I wrote in the script. Would you mind checking this? #Gaussian Blur import os import cv2 from skimage.filters import gaussian from skimage import img_as_ubyte i = 1 for root, dirs, files in os.walk("Practicum/CROPPED/NORMAL"): for name in files: print(os.path.join(root,name)) path = os.path.join(root,name) norm_img = cv2.imread(path, 0) blur_norm_img = img_as_ubyte(gaussian(norm_img, sigma = 5, mode = 'constant', cval = 0.0)) cv2.imwrite("Practicum/GAUSSIAN BLUR/NORMAL/name"+ str[i] + '.jpg', blur_norm_img) i += 1
@huzaifakhursheed4350
@huzaifakhursheed4350 3 жыл бұрын
Hello Sir, Hope that you would be fine. I want to know that how can i make a 3d panorama image by using multiple 2d images. Thanks In Advance
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
I do not know how to create 3D panorama image using 2D images.
@cvicracer
@cvicracer 3 жыл бұрын
Awesome thanks
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
No problem!
@dattijomakama9703
@dattijomakama9703 4 жыл бұрын
Thank you so much.
@DigitalSreeni
@DigitalSreeni 4 жыл бұрын
Always welcome
@houssameol
@houssameol 3 жыл бұрын
Thank you very much
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
You are welcome
@Dhayan23
@Dhayan23 Жыл бұрын
hi sreeni.. i have some doubts
@Dhayan23
@Dhayan23 Жыл бұрын
hi sreeni
183 - OCR in python using keras-ocr
7:23
DigitalSreeni
Рет қаралды 17 М.
192 - Working with 3D and multi-dimensional images in python
20:24
DigitalSreeni
Рет қаралды 15 М.
Молодой боец приземлил легенду!
01:02
МИНУС БАЛЛ
Рет қаралды 1,9 МЛН
I thought one thing and the truth is something else 😂
00:34
عائلة ابو رعد Abo Raad family
Рет қаралды 6 МЛН
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 112 МЛН
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 2 МЛН
27 - CLAHE and Thresholding using opencv in Python
20:32
DigitalSreeni
Рет қаралды 23 М.
Tutorial 27 - Using glob to read multiple files in python
11:54
ZEISS arivis
Рет қаралды 32 М.
57 - How to generate features in Python for machine learning?
17:43
DigitalSreeni
Рет қаралды 33 М.
28 - Thresholding and morphological operations using openCV in Python
20:31
23 - Histogram based image segmentation in Python
24:12
DigitalSreeni
Рет қаралды 37 М.
How to Preprocess Images for Text OCR in Python (OCR in Python Tutorials 02.02)
53:24
Python Tutorials for Digital Humanities
Рет қаралды 167 М.
How AI 'Understands' Images (CLIP) - Computerphile
18:05
Computerphile
Рет қаралды 214 М.
C++ vs Rust: which is faster?
21:15
fasterthanlime
Рет қаралды 404 М.
Молодой боец приземлил легенду!
01:02
МИНУС БАЛЛ
Рет қаралды 1,9 МЛН