Maximum Likelihood Classification problem!!!

Discussion created by tp6rmp4d93 on May 13, 2010
Dear All,
I found a problem in SA MLClassify,
all use same files, default settings,
but can't processing success if you not add to Map Layer first and select by dropdown list
anyone can help me to find where is the problem and how to solve it????

Best Regards,

BTW, the message as below,

=============successful case=============
Executing: MLClassify PCA_CompositeBands_2_CopyRas.img D:\Temp\isoclus_pca_com1.gsg D:\Temp\MLClass_PCA_1 0.0 EQUAL # #
Start Time: Thu May 13 23:09:44 2010
Executed (MLClassify) successfully.
End Time: Thu May 13 23:09:45 2010 (Elapsed Time: 1.00 seconds)

==============failed case===============
Executing: MLClassify D:\Temp\PCA_CompositeBands_2_CopyRas.img D:\Temp\isoclus_pca_com1.gsg D:\Temp\MLClass_PCA_2 0.0 EQUAL # #
Start Time: Thu May 13 23:19:36 2010
ERROR 010107: The covariance matrix of input class 1 is singular. MLClassify failed!
ERROR 010067: Error in executing grid expression.
Failed to execute (MLClassify).
End Time: Thu May 13 23:19:38 2010 (Elapsed Time: 2.00 seconds)