Тёмный
No video :(

K-means Segmentation with Matlab 

Pratik Jain
Подписаться 5 тыс.
Просмотров 11 тыс.
50% 1

Опубликовано:

 

21 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 24   
@varunparekh9850
@varunparekh9850 2 года назад
Thank you, Pratik. It is so well explained.
@rajshreesrivastava7650
@rajshreesrivastava7650 3 года назад
Hi, pratik i m new to matlab, just wanted to know suppose if I have a complete folder of image dataset having roughly 200 image. then in that how can use this code to segment the image using k-means
@pratikian
@pratikian 3 года назад
Hii I have made a code as you want you can find it here drive.google.com/file/d/1P2-_r--0UH2t54QAn2xE83IMj4HI2OAK/view?usp=sharing Here first the code will ask to select a folder where all the images are present and then it will run the k-means algorithm on it. I have used the inbuilt k-means function here as it is much faster than my implementation. Hope that helps. This will only work if all your images are of the same size.
@harryzjj
@harryzjj 3 года назад
Hi! First of all thank you a lot for the video! It was really clear and easily understandable! I would like to ask you, if you want to tune the parameters, in kmeans is the number of clusters that you chose. In which part of the algorithm you do that? Thank you in advance
@pratikian
@pratikian 3 года назад
Thank you so much for the feedback . So to answer your question the k is the parameter that you are asking for. So I have kept it as a user input but you can remove the input line and put the value that you want there.
@harryzjj
@harryzjj 3 года назад
@@pratikian Thank you so much for your quick response! Actually I was asking if its possible to describe or make a video about how in matlab and on images we can apply the silhouette or the elbow technique in order to choose the correct number of clusters! Thank you in advance!!
@pratikian
@pratikian 3 года назад
Sorry for a late response I will try to make a video on that mean while you can look at this link in.mathworks.com/matlabcentral/answers/376063-how-to-find-optimal-k-from-k-means-clustering-by-using-elbow-method
@jorgelionel4241
@jorgelionel4241 3 года назад
I know Im kind of randomly asking but does anybody know a good place to stream newly released tv shows online ?
@asn6555
@asn6555 3 года назад
Could you please tell how to apply kmeans for a 3D data matrix containing random data
@pratikian
@pratikian 3 года назад
So this data can be compared to the data that we get from a color image that also has 3 dimentions. You can pass this data matrix directly to the inbuilt kmeans matlab function. For more information on the function look at this link www.mathworks.com/help/stats/kmeans.html
@andyvera5492
@andyvera5492 3 года назад
Thanks a lot! Can it be made more direct?
@pratikian
@pratikian 3 года назад
You can use the inbuilt kmeans function For more info you can refer to in.mathworks.com/help/stats/kmeans.html
@andyvera5492
@andyvera5492 3 года назад
@@pratikian I appreciate it a lot. 😊
@aichahammouche2544
@aichahammouche2544 4 года назад
how to visualize the results of k-means clustering with more than 3 dimensions
@pratikian
@pratikian 4 года назад
You wont be able to visualise that. Since we have only 3 dimentions we cannot go beyond that
@malininagarajan9437
@malininagarajan9437 3 года назад
Could you please tell video segmentation
@kashyapkoshti
@kashyapkoshti 4 года назад
You should use CIELab colour slace for k means
@pratikian
@pratikian 4 года назад
Yes you are right we can also use the CIELab space. I have used the CIELab space for the next video in which I have explained the SLIC segmentation method.
@hajraafzal5129
@hajraafzal5129 4 года назад
Hi. How to use this code for a grayscale, MRI image?
@pratikian
@pratikian 4 года назад
So for grayscale image you will have the vector of only 1 column. You can directly use the matlab command reshape. Also you can use the inbuilt command kmeans to segment your image.
@hajraafzal5129
@hajraafzal5129 4 года назад
@@pratikian Thankyou for the response. Do I still need to create rgb matrix for that?
@pratikian
@pratikian 4 года назад
No you will just have one grayscale matrix thats it
@hajraafzal5129
@hajraafzal5129 4 года назад
@@pratikian Thankyou.
@parthdethaliya1826
@parthdethaliya1826 3 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-JN7YV0v-OMI.html
Далее
K-means & Image Segmentation - Computerphile
8:27
Просмотров 295 тыс.
КТО ЛЮБИТ ГРИБЫ?? #shorts
00:24
Просмотров 902 тыс.
K-Means Clustering Algorithm with Python Tutorial
19:20
The moment we stopped understanding AI [AlexNet]
17:38
Просмотров 934 тыс.
The Greenwich Meridian is in the wrong place
25:07
Просмотров 793 тыс.
Image Segmentation Super Pixels
15:50
Просмотров 3,2 тыс.
How This New Battery is Changing the Game
12:07
Просмотров 179 тыс.
k-Means Segmentation | Image Segmentation
8:18
Просмотров 35 тыс.
The Clever Way to Count Tanks - Numberphile
16:45
Просмотров 994 тыс.