How can I get the training data from a Landsat Image?
1 次查看(过去 30 天)
显示 更早的评论
I need to do classification using the knnclassify command but I am confused with creating the training matrix. I have the following information.
nchannels=12; nx=949; ny=220; Data = lanread('flc1.lan',nchannels,nx,ny);
This creates a matrix of 949x220x12 matrix. How can I create a training matrix to use knnclassify. I must do this without any clustering. Looking forward for a reply.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!