Python Image Segmentation Tutorial (2022)

  Рет қаралды 78,503

Mr. P Solver

Mr. P Solver

Күн бұрын

Пікірлер
@isoljator
@isoljator 2 жыл бұрын
This was SUPER interesting! Thank you for methodically going through each step in the process, while providing a very clear and detailed account. Your whole channel is pure gold 🏆
@vladi1475S
@vladi1475S 2 жыл бұрын
I totally agree!!!
@ercankara3117
@ercankara3117 7 ай бұрын
@@vladi1475S filepath = r'../Data/CT_scan.npy' img = np.load(filepath) Bu dosyayı nereden indirebileceğim konusunda bana yardımcı olabilir misiniz?
@ercankara3117
@ercankara3117 7 ай бұрын
filepath = r'../Data/CT_scan.npy' img = np.load(filepath) Bu dosyayı nereden indirebileceğim konusunda bana yardımcı olabilir misiniz?
@ercankara3117
@ercankara3117 7 ай бұрын
@ercankara3117 13 dakika önce filepath = r'../Data/CT_scan.npy' img = np.load(filepath) Can you help me where I can download this file?
@19AKS58
@19AKS58 Ай бұрын
EXCELLENT explanation, and in perfectly understandable English. I've been a radiologist for 35 years, and you clearly know your stuff. I'm moving into the AI-imaging world; I look forward to more of your videos.
@robertpretorius7627
@robertpretorius7627 2 жыл бұрын
Awesome video! Thanks for showing the plotly thing at the end. I've been banging my head against the wall for a week trying to visualize MRI data in plotly without success.
@MrPSolver
@MrPSolver 2 жыл бұрын
It's not perfect, but plotly can come in handy;
@ercankara3117
@ercankara3117 7 ай бұрын
filepath = r'../Data/CT_scan.npy' img = np.load(filepath) Bu dosyayı nereden indirebileceğim konusunda bana yardımcı olabilir misiniz?
@ercankara3117
@ercankara3117 7 ай бұрын
@@MrPSolver filepath = r'../Data/CT_scan.npy' img = np.load(filepath) Bu dosyayı nereden indirebileceğim konusunda bana yardımcı olabilir misiniz?
@carlogalicia9124
@carlogalicia9124 2 жыл бұрын
Hey man, really appreciate what you’re doing. As a grad student myself, it’s really admirable that you teach us this stuff. Best wishes at school and life.
@-TheBugLord
@-TheBugLord 2 жыл бұрын
I've never worked with high level stuff like this, but I really enjoy your walkthroughs, because it helps me understand the thought process of performing complicated tasks such as this. I hope to do something this cool someday.
@ercankara3117
@ercankara3117 7 ай бұрын
filepath = r'../Data/CT_scan.npy' img = np.load(filepath) Bu dosyayı nereden indirebileceğim konusunda bana yardımcı olabilir misiniz?
@sin-leqi-unninni
@sin-leqi-unninni 2 жыл бұрын
Your medical physics videos are the best stuff ever
@leogoldstien
@leogoldstien 2 жыл бұрын
Seconded
@ercankara3117
@ercankara3117 7 ай бұрын
@ercankara3117 13 dakika önce filepath = r'../Data/CT_scan.npy' img = np.load(filepath) Can you help me where I can download this file?
@tiddlywinks497
@tiddlywinks497 6 ай бұрын
Thank you so much for these videos. I have started getting more involved in CT scans, and these videos have been very inspiring.
@guilhermedelimaschwaikartt893
@guilhermedelimaschwaikartt893 2 жыл бұрын
Hi, my jaw dropped on thie masterpiece, but I have one question: In the import file, you used a CT_scan.npy, wich means, and correct me if I'm wrong, that you transformed 200 layers of 1 exam that was .dcm in one single archive that is a group of arays .npy. Do you have any tutorial on how to do that or some link to how can I learn the way you did it? It would help a lot! Thanks!
@poreh6262
@poreh6262 2 жыл бұрын
This is exactly what I have wanted, I cannot thank you more man!
@manasmitapanda1130
@manasmitapanda1130 2 жыл бұрын
Learning python and libraries from your channel is fun 😇
@gaspi91
@gaspi91 7 ай бұрын
This video is amazing, just as libraries for segmentation in python, skimage is OP.
@alonalon8794
@alonalon8794 2 жыл бұрын
Where can I get the '../Data/CT_scan.npy' file that you're using in cell 2? @Mr. P Solver
@abdulmahshooqka4374
@abdulmahshooqka4374 Жыл бұрын
did u find it
@ercankara3117
@ercankara3117 7 ай бұрын
@@abdulmahshooqka4374 did u find it
@CyberLyric
@CyberLyric 2 ай бұрын
@@abdulmahshooqka4374 no bro
@idiosinkrazijske.rutine
@idiosinkrazijske.rutine 2 жыл бұрын
I like it so much when people take care about reproducibility of their research especially when it comes to computational science. Code should be supplementary material along with the data, and there shouldn't be "unnecessary hurdles on a way to reproducibility" (a citation from a Nature article as I recall). We have a technology for this like online repositories and code should also get doi numbers. Thanks for this video!
@enreas
@enreas 2 жыл бұрын
Amazing video, thanks a lot. I'm trying to follow the steps, but when trying to download the file CT_scan.npy GitHub says the repository is over its data quota. Is there any other way of getting that file?
@baobao5177
@baobao5177 Жыл бұрын
I couldn't find the "CT_scan.npy" file in the Data directory in your Github repo. Btw, do you have any tutorial on how to process the medical imaging files (dcm, MRI,...)
@mervebulbul5099
@mervebulbul5099 10 ай бұрын
did you find it??
@ercankara3117
@ercankara3117 7 ай бұрын
@@mervebulbul5099 did you find it??
@ercankara3117
@ercankara3117 7 ай бұрын
@@mervebulbul5099 buldunuz mu acaba
@domillima
@domillima 10 ай бұрын
Excellent video. In my case, I have CT DICOM files that I’ve segmented using 3D slicer. I read those files in with sitk and need to work on processing them with labels the way you did here so that I can multiple the image x the labels and remove background nose before training into my model. Would love more videos along this line!
@ercankara3117
@ercankara3117 7 ай бұрын
@ercankara3117 13 dakika önce filepath = r'../Data/CT_scan.npy' img = np.load(filepath) Can you help me where I can download this file?
@JuanJCSantamaria
@JuanJCSantamaria Жыл бұрын
Very clear tutorial! Thanks a lot!!
@vladi1475S
@vladi1475S 2 жыл бұрын
FANTASTIC!!!! Love the video!!!! Pls do more of these videos!!!! Thank you!!! :)
@ercankara3117
@ercankara3117 7 ай бұрын
@ercankara3117 13 dakika önce filepath = r'../Data/CT_scan.npy' img = np.load(filepath) Can you help me where I can download this file?
@najninmansuri9346
@najninmansuri9346 2 жыл бұрын
Nice description 👍🏻 If i will take several images of lungs and want to integrate them and make one image than how I can integrate that several images?
@miguelguerreiro5280
@miguelguerreiro5280 2 жыл бұрын
Great video! I wonder how do you include more complex organs with lobes. For example, if you want to keep the trachea. I see that the lungs are kinda cut short on the bottom end because of the 3 biggest areas threshold. Would be cool to follow the diggestive system by using the center of mass function (at each layer, the center can shift a small amount).
@alonizmirli1562
@alonizmirli1562 2 жыл бұрын
Interesting video, Thanks. There are many heuristics and parameters used in the video which may not work in the general case. So, I was wondering if you choose to look at slices that use the first 2 dimensions instead of the last 2 dimensions (different slices should be at different depths of the chest-back dimension), it might be easier to find out the location of the lungs and get rid of the table (the table should be less or more always at the same depth)? In any case, it must be assumed that this type of problem is more suitable for three-dimensional segmentation than the union of two-dimensional segmentations. Regardless, I would be very happy if you made a tutorial to image-processing libraries (2D) in the same style as you did for NumPy, SciPy & SymPy
@ercankara3117
@ercankara3117 7 ай бұрын
@ercankara3117 13 dakika önce filepath = r'../Data/CT_scan.npy' img = np.load(filepath) Can you help me where I can download this file?
@sovsurs
@sovsurs 2 жыл бұрын
Hi Mr P Solver, great tutorial! Where can we fint the '../Data/CT_scan.npy' file mentioned in the code?
@lucasantagata4551
@lucasantagata4551 Жыл бұрын
Did you find it?
@Mate-Shorts
@Mate-Shorts 6 ай бұрын
wow you're my savior, i need it ... thanks!
@roozbehyousefnejad7234
@roozbehyousefnejad7234 2 жыл бұрын
Thanks for the great video! I just have one question. I am trying to apply the same concept you discussed on CT scan of metallic parts (1024 x 1024). The challenge I have is that the code you used for finding boundaries and areas is not working properly due to having thin layers side by side. Do you have any suggestions as to how to fix this issue?
@theantonlulz
@theantonlulz 2 жыл бұрын
Fuck me silly this is a good quality video. The concrete example really helped me wrap my head around all the material.
@mikekertser5384
@mikekertser5384 2 жыл бұрын
Fantastic! And definitely cheaper than Image Processing Toolbox in MATLAB ;)
@MrPSolver
@MrPSolver 2 жыл бұрын
Who needs MATLAB anymore ;)
@mikekertser5384
@mikekertser5384 2 жыл бұрын
@@MrPSolver Well... I'm still working with MATLAB. It has a nice IDE, no issues will mutual library dependencies and technically the code works faster than similar code in python, especially for the large datasets
@TheFreeSpiritKID
@TheFreeSpiritKID 2 жыл бұрын
this was extremely helpful! and nice visuals too, what more could I ask for
@ApteraEV2024
@ApteraEV2024 Жыл бұрын
Money...😅,
@PavanKumar-pt2sh
@PavanKumar-pt2sh 2 жыл бұрын
When cloning the project, I'm facing this issue ` Error downloading object: Data/CT_scan.npy (ee8b4e3): Smudge error: Error downloading Data/CT_scan.npy (ee8b4e370c617c0526360a761dd6051c16324b25496a705e39d65930a2511e6b): batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access. `
@zukofire6424
@zukofire6424 2 жыл бұрын
can you do a video on object detection on a biology image?
@ShadArfMohammed
@ShadArfMohammed Жыл бұрын
thanks for such a nice walkthrough, I think it would have been much easier to make the code more modular, since you already wrote functions, you could have created a class to generate the image objects for you, but that is just a suggestion :) All the best.
@lukasb7013
@lukasb7013 2 жыл бұрын
Very interesting and useful video! I have a question: Is it possible to generate a 3d Image out of 2d Image Slices? I am currently trying it with plt.scatter, but theres always a distance between the single layers. Is it possible to concatenate those 2d slices and plot them as one element?
@fatanehsadeghi5723
@fatanehsadeghi5723 Жыл бұрын
Hi thank you its great...where can i find CT_Scan.npy
@beautifulsmall
@beautifulsmall 2 жыл бұрын
Filling in the holes, Data destruction
@lucasantagata4551
@lucasantagata4551 Жыл бұрын
Hi, great tutorial!...May I ask you why the html file doesn't open? Is there another way to show it?
@JeanDAVID
@JeanDAVID 2 жыл бұрын
problem when loading CT_scan.npy : ValueError: Cannot load file containing pickled data when allow_pickle=False
@peterdinklagedecoringa4912
@peterdinklagedecoringa4912 2 жыл бұрын
me too
@iangleeson3338
@iangleeson3338 Жыл бұрын
Any clever tips how I can apply this but extract the heart only?
@d-shiri
@d-shiri 2 жыл бұрын
Great video.
@monalisamoura1516
@monalisamoura1516 2 жыл бұрын
Are the "CT_scans" archives a set of DICOM images?
@ercankara3117
@ercankara3117 7 ай бұрын
did u find it
@loiscano692
@loiscano692 Жыл бұрын
Really clear and enriching tutorial ! Thank you very much ! I have a problem though at the last step, nothing displays with my HTML file, only the axis are showing up. Would you know if it's a problem of dimension in the data or type issue (my array in 'x', 'y', 'z' and 'value' are the same dimension and data type are int32).
@ercankara3117
@ercankara3117 7 ай бұрын
@ercankara3117 13 dakika önce filepath = r'../Data/CT_scan.npy' img = np.load(filepath) Can you help me where I can download this file?
@chicagogirl9862
@chicagogirl9862 Жыл бұрын
well explained!
@sollanorabelobraga7592
@sollanorabelobraga7592 2 жыл бұрын
Thanks for the video! How would i go to do a similiar thing, but with a .las file?
@TawsifTurjoeee
@TawsifTurjoeee 6 ай бұрын
where can I get the dataset I am not finding it
@charliearmour1628
@charliearmour1628 Жыл бұрын
Wow, super interesting. Thanks for sharing.
@RuhulAmin-ow5zy
@RuhulAmin-ow5zy Жыл бұрын
I can't find CT_scan.npy?
@fatanehsadeghi5723
@fatanehsadeghi5723 Жыл бұрын
Thank you very much. Where can i get ct_scan.pny
@ercankara3117
@ercankara3117 7 ай бұрын
did u find it
@ercankara3117
@ercankara3117 7 ай бұрын
filepath = r'../Data/CT_scan.npy' img = np.load(filepath) Can you help me where I can download this file?
@djsid651
@djsid651 2 жыл бұрын
This is not working, the Data Provided in the Git repository is showing OS Error.
@inhibited44
@inhibited44 10 ай бұрын
I learned in another video how to access and display and ct photo of .dcm type. Now problem is how to convert it to numpy?
@inhibited44
@inhibited44 10 ай бұрын
use np.array and then do sanity check on data by printing types()
@iampeterstark
@iampeterstark 2 жыл бұрын
which python version use in this video?? Thank you
@jamesmoulds6960
@jamesmoulds6960 2 жыл бұрын
The np.load method offered in the video tutorial does not open the .npy scan file. I was expecting an array in the file but can only see a sha and filesize... has anyone coded along with this and have a solution to my problem? Thanks
@jamesmoulds6960
@jamesmoulds6960 2 жыл бұрын
The scan file is encrypted unless someone can advise otherwise... @Mr.PSolver could you advise where we might find a similar ct scan file?
@Asbjoorn
@Asbjoorn 2 жыл бұрын
God i love your videos
@Neha-rh4gs
@Neha-rh4gs Жыл бұрын
can you help segmenting kidney from CT scan?
@revathysuresh942
@revathysuresh942 Жыл бұрын
Hi do you think it is possible to do in 2D images?
@juanecheverry8013
@juanecheverry8013 Жыл бұрын
yes it worked for me with small animals
@jrad9921
@jrad9921 Жыл бұрын
Why is the data deleted now?
@122Dhiren
@122Dhiren Жыл бұрын
Hello, Can anyone send me datafile or link to download it. Thanks 🙏
@elmichellangelo
@elmichellangelo 10 ай бұрын
Wouldn’t it had been Better to change view by having a (512, 263, 512)
@saifzisan2733
@saifzisan2733 Жыл бұрын
can you please provide the link for filepath: ct_scan.npy file please?
@inhibited44
@inhibited44 10 ай бұрын
there is another video from another person for reading .dcm medical files . He shows you how to extract a .dcm file then convert it to numpy. Then you are ready to look at this again
@ZhouKevin-iy8sj
@ZhouKevin-iy8sj 10 ай бұрын
So could you show the link of this video? @@inhibited44
@mervebulbul5099
@mervebulbul5099 10 ай бұрын
Hi @@inhibited44 Which video that you tell about? Can you share the name or a link?
@ercankara3117
@ercankara3117 7 ай бұрын
@@mervebulbul5099 hangi video acaba bulabiildiniz mi
@mervebulbul5099
@mervebulbul5099 7 ай бұрын
@@ercankara3117 bulamadım onun yerine kendim bir kod yazdım. Dicom resimlerini dcmread le okuyup bir listeye attım. Daha sonra bu listeyi dicomun içinde bulunan ImagePositionPatient meta verisinin z-ekseni değerlerine göre sıraladım. Sıraladıktan sonra her bir pikseli HU değerlerine dönüştürüp 3D dizi oluşturdum.
@sunilkumar-xp7jz
@sunilkumar-xp7jz 3 ай бұрын
Super 👍
@rutujanerurkar9385
@rutujanerurkar9385 2 жыл бұрын
Saw your video! Amazing Tutorial, subscribed immediately!
@djsid651
@djsid651 2 жыл бұрын
This Code is actually not working, what so amazed did you saw in it?
@ApteraEV2024
@ApteraEV2024 Жыл бұрын
It must be nice to be a Genius❤😅🎉
@cutieFAIZANHASSAN
@cutieFAIZANHASSAN Жыл бұрын
superb
@SUHARTONOSKomMKomUNM
@SUHARTONOSKomMKomUNM 2 жыл бұрын
You are very clever, I want to be you student,
@danakane6772
@danakane6772 2 жыл бұрын
Damn I thought it was "python segmentation fault tutorial( 2022)" I clicked wondering how the heck you billy achieved that but now my Disappointment Is Immeasurable and my day is ruined.
@davidwalden8732
@davidwalden8732 9 ай бұрын
Absolutely amazing! Outstanding presentation. I'd be grateful to have you involved in my project. @saucerdesigner
Python AI Organ Segmentation Tutorial
37:09
Mr. P Solver
Рет қаралды 32 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
The U-Net (actually) explained in 10 minutes
10:31
rupert ai
Рет қаралды 132 М.
Image Processing with OpenCV and Python
20:38
Rob Mulla
Рет қаралды 191 М.
ChatGPT Vs. Stack Overflow Be Like...
3:26
Mr. P Solver
Рет қаралды 81 М.
Grad School Be Like...
3:35
Mr. P Solver
Рет қаралды 113 М.
CT Scans and Tomographic Recon in PYTHON
32:31
Mr. P Solver
Рет қаралды 21 М.
5 Python Libraries You Should Know in 2025!
22:30
Keith Galli
Рет қаралды 76 М.
Much bigger simulation, AIs learn Phalanx
29:13
Pezzza's Work
Рет қаралды 2,8 МЛН
The moment we stopped understanding AI [AlexNet]
17:38
Welch Labs
Рет қаралды 1,5 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН