knn for RGB images

2 views (last 30 days)
Anu Shay
Anu Shay on 15 May 2022
Commented: Image Analyst on 15 May 2022
Hello Professionals,
I have a dataset of 100 RGB images and I have to apply "KNN" with 2 classes on it. I have no idea how to do it. Please help me.
Thanks in advance
  2 Comments
Image Analyst
Image Analyst on 15 May 2022
What value are you going to use for k? Can you attach your reference image with the two reference classes in it? Is there a distribution of colors in each class, or are the color regions uniform with just one, pure color in them?

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!