Example #1
0
 public GLCM(RS_Lib.RsImage r)
 {
     InitializeComponent();
     this._img = r;
     InitCombo();
     comboBox1.SelectedIndex = 0;
 }
Example #2
0
        public OIF(RS_Lib.RsImage l)
        {
            InitializeComponent();
            _oif = new RS_Lib.CalcOIF(l);

            oif.ItemsSource = _calcOif;
            InitData();
        }
Example #3
0
 public FileInfo(RS_Lib.RsImage p)
 {
     InitializeComponent();
     _img = p;
     textBlock1.Text += "\n图像文件地址:" + p.GetFilePath();
     textBlock1.Text += "\n波段数:" + p.BandsCount;
     textBlock1.Text += "\n图像说明:" + p.Description;
     textBlock1.Text += "\n图像格式:" + p.Interleave;
 }
Example #4
0
        public HistoMatch(RS_Lib.RsImage a, RS_Lib.RsImage b)
        {
            this._a = a;
            this._b = b;
            InitializeComponent();

            InitCombo();
            comboBox1.SelectedIndex = 0;
            comboBox2.SelectedIndex = 0;
        }
Example #5
0
        public FileInfo(RS_Lib.RsImage p)
        {
            InitializeComponent();
            StringBuilder sb = new StringBuilder();

            sb.AppendLine("图像元信息如下");
            sb.AppendLine();
            sb.AppendLine("图像文件名:" + p.FileName);
            sb.AppendLine("图像文件地址:" + p.GetFilePath());
            sb.AppendLine("波段数:" + p.BandsCount);
            sb.AppendLine("图像行数:" + p.Lines);
            sb.AppendLine("图像列数:" + p.Samples);
            sb.AppendLine("图像格式:" + p.Interleave);
            sb.AppendLine();
            sb.AppendLine("图像说明:" + p.Description);

            textBlock1.Text = sb.ToString();
        }
Example #6
0
        // private ObservableCollection<StatsCorr>[] _statCorr;

        public BasicStats(RS_Lib.RsImage p)
        {
            InitializeComponent();
            _stats = new RS_Lib.ImageStats(p);
            TextInfo.Text += "\n\t图像数据位置:" + p.GetFilePath();
            TextInfo.Text += "\n\t波段数目:" + p.BandsCount;
            TextInfo.Text += "\n\t图像尺寸(高x宽):" + p.Lines + " x " + p.Samples + "\n";

            for (int i = 0; i < p.BandsCount; i++)
            {
                _bandName.Add("波段 " + (i + 1));
            }

            DataAve.ItemsSource = _statAve;
            DataDev.ItemsSource = _statDev;

            Ave();
            StdDev();
            StdCorr();
            StdCov();
        }
Example #7
0
 public ContrastStr(RS_Lib.RsImage r)
 {
     this._img = r;
     InitializeComponent();
     InitCheck();
 }