//辐射定标
        private void btn_OK_Click(object sender, EventArgs e)
        {
            string inputStr  = this.txb_input.Text.Trim();
            string outputStr = this.txb_output.Text.Trim();

            //检查输入的头文件和保存路径是否正确
            if (File.Exists(inputStr) && Directory.Exists(outputStr))
            {
                FileInfo fileInfo = new FileInfo(inputStr);
                if (fileInfo.Extension == ".txt")
                {
                    //调用辐射定标函数
                    string[] resultStr = IdlProcess.IdlRadCalibration(inputStr, outputStr);
                    //如果勾选显示结果,则调用影像显示函数
                    if (isDisplayResult.Checked)
                    {
                        DataShowControl imgShow = new DataShowControl(pMapControl.Map);
                        imgShow.DisplayImg(resultStr[0]);
                        imgShow.DisplayImg(resultStr[1]);
                    }
                    //完成定标和显示后关闭当前窗口
                    this.Dispose();
                }
                else
                {
                    MessageBox.Show("输入的Landsat头文件格式不正确,正确格式为*._MTL.txt");
                }
            }
            else
            {
                MessageBox.Show("输入的文件或文件夹不存在,请修改!");
            }
        }
        //点击确定,开始校正
        private void btn_OK_Click(object sender, EventArgs e)
        {
            string inputFile = "";

            if (this.cmb_inputIMG.SelectedItem != null)
            {
                inputFile = this.cmb_inputIMG.ValueMember;
            }
            else
            {
                inputFile = this.cmb_inputIMG.Text;
            }
            string outputName = this.txb_output.Text.Trim();

            //进行大气校正
            IdlProcess.IdlAtmoCorrection(inputFile, outputName);
            //展示结果
            if (this.isDisplayResult.Checked)
            {
                DataShowControl imgShowControl = new DataShowControl(this._axMapControl.Map);
                imgShowControl.DisplayImg(outputName);
            }
            this.Dispose();
        }