K-nearest neighbors in segmentation of gray image
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi ,
I need help to implement k-nearest neighbors algorithm to segment a gray image.
I dispose of a Training image, and the original image to be segmented. But I don't have the knn algorithm to use it. KnnSearch corresponds to what I am looking to implement but I have Matlab r2009b thus it is not implemented.
please do you have the knn matlab code for 2 dimensionnal images ?
0 Kommentare
Antworten (1)
Image Analyst
am 31 Mär. 2014
Do you mean like a knn filter for denoising where you replace a pixel by the mean of the brightest or darkest N values? If so, you can do that all with a few calls imfilter() or conv2() if you're clever about it.
7 Kommentare
Mohammed Abdul Wadood
am 20 Mär. 2022
I working on denoising satellite image with gaussian noise. So, I asket about KNN filter.
thank you
Siehe auch
Kategorien
Mehr zu Deep Learning for Image Processing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!