void CBsqViewViewOnmindis TODO Add your command handler code here ifm_fileopen == false AfxMessageBox错误:没有可选的区域进行分类!MB_ICONERROR MB_OK0; return; ifbigdlg-Areas==0 AfxMessageBox错误:没有可选的区域进行分类
This is a MFC command handler function for a button click event in a view class. It checks if a file is open and if there are any selected areas before proceeding with the classification process. Then, it creates a new object of the CSupervised class and allocates memory for storing the data. It opens the input file and reads the data into the allocated memory. Finally, it calls the MinimumDistance function of the CSupervised class to perform the classification and closes the input file. After the classification, it frees the allocated memory
原文地址: http://www.cveoy.top/t/topic/fom4 著作权归作者所有。请勿转载和采集!