Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
Agustin
Agustin el 7 de Abr. de 2016
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.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by