Hi,
I want to classify an 8 band image using the maximum likelihood
classifier in ENVI 4.0. I want to use a script to automate this
process, as I want to do it over a large range of different images and
settings.
However, if I classify all eight bands using the ENVI GUI I get a
completely different classification image then I do when I do it in
code. If I only use four or less of the bands, then the results are
exactly the same, however if I try to use anymore then four of the
bands the results using my code as really bad, and look nothing like
the results produced by using the ENVI GUI.
Am I doing something wrong here? Or is this a known (or unknown) bug.
I even tried copy and pasting the code from the class_doit manual page
(and pointed it to my image), and it still produced a wrong result.
Humphrey
|