private void FormHighpass_Load(object sender, EventArgs e) { pictureBox1.Image = pcxGray.pcxImg; pcxAfter = new ImgPcx(pcxGray); pcxAfter.Highpass(); pictureBox2.Image = pcxAfter.pcxImg; // 顯示SNR值 (到小數後2位) textBox1.Text = pcxGray.GetSNR(pcxGray, pcxAfter).ToString("f2"); }