How can I get the training data from a Landsat Image?

1 回表示 (過去 30 日間)
Agustin
Agustin 2016 年 4 月 7 日
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 件)

カテゴリ

Help Center および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by